Sha256: 764e08005d3ea9f056b79183c7fd135cbd90aea5475d01fb42b6902bff8c2662

Contents?: true

Size: 804 Bytes

Versions: 3

Compression:

Stored size: 804 Bytes

Contents

require 'semantic_logger/core_ext/thread'
require 'semantic_logger/version'
require 'semantic_logger/semantic_logger'

module SemanticLogger
  autoload :Base,       'semantic_logger/base'
  autoload :Logger,     'semantic_logger/logger'
  autoload :Loggable,   'semantic_logger/loggable'

  module Appender
    autoload :Base,     'semantic_logger/appender/base'
    autoload :File,     'semantic_logger/appender/file'
    autoload :Wrapper,  'semantic_logger/appender/wrapper'
    autoload :MongoDB,  'semantic_logger/appender/mongodb'
    autoload :Syslog,   'semantic_logger/appender/syslog'
    autoload :NewRelic, 'semantic_logger/appender/new_relic'
  end
end

# Flush all appenders at exit, waiting for outstanding messages on the queue
# to be written first
at_exit do
  SemanticLogger.flush
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
semantic_logger-2.9.2 lib/semantic_logger.rb
semantic_logger-2.9.1 lib/semantic_logger.rb
semantic_logger-2.9.0 lib/semantic_logger.rb