class SemanticLogger::Appender::Graylog::LevelMap
Attributes
debug[RW]
error[RW]
fatal[RW]
info[RW]
trace[RW]
warn[RW]
Public Class Methods
new(trace: GELF::DEBUG, debug: GELF::DEBUG, info: GELF::INFO, warn: GELF::WARN, error: GELF::ERROR, fatal: GELF::FATAL)
click to toggle source
# File lib/semantic_logger/appender/graylog.rb, line 28 def initialize(trace: GELF::DEBUG, debug: GELF::DEBUG, info: GELF::INFO, warn: GELF::WARN, error: GELF::ERROR, fatal: GELF::FATAL) @trace = trace @debug = debug @info = info @warn = warn @error = error @fatal = fatal end
Public Instance Methods
[](level)
click to toggle source
# File lib/semantic_logger/appender/graylog.rb, line 37 def [](level) public_send(level) end