Module GELF
In: lib/gelf/severity.rb
lib/gelf/notifier.rb
lib/gelf/transport/tcp.rb
lib/gelf/transport/tcp_tls.rb
lib/gelf/transport/udp.rb
lib/gelf/logger.rb
lib/gelf.rb

Included Modules

Levels

Classes and Modules

Module GELF::Levels
Module GELF::LoggerCompatibility
Module GELF::Protocol
Module GELF::Transport
Class GELF::Logger
Class GELF::Notifier

Constants

LOGGER_MAPPING = {DEBUG => 7, # Debug INFO => 6, # Informational WARN => 5, # Notice ERROR => 4, # Warning FATAL => 3, # Error UNKNOWN => 1}   Maps Ruby Logger levels to syslog levels as SyslogLogger and syslogger gems. This one is default.
DIRECT_MAPPING = {DEBUG => 7, # Debug INFORMATIONAL => 6, # Informational (syslog source) INFO => 6, # Informational (Logger source) NOTICE => 5, # Notice WARNING => 4, # Warning (syslog source) WARN => 4, # Warning (Logger source) ERROR => 3, # Error CRITICAL => 2, # Critical (syslog source) FATAL => 2, # Critical (Logger source) ALERT => 1, # Alert (syslog source) UNKNOWN => 1, # Alert - shouldn't be used (Logger source) EMERGENCY => 0}   Maps Syslog or Ruby Logger levels directly to standard syslog numerical severities.
SPEC_VERSION = '1.0'

[Validate]