Sha256: 46ce7a965d1db0f389a8a8f4528f9ce1ef406b396b471dd6206c764446b852e0

Contents?: true

Size: 735 Bytes

Versions: 4

Compression:

Stored size: 735 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'
  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

4 entries across 4 versions & 1 rubygems

Version Path
semantic_logger-2.8.0 lib/semantic_logger.rb
semantic_logger-2.7.0 lib/semantic_logger.rb
semantic_logger-2.6.1 lib/semantic_logger.rb
semantic_logger-2.6.0 lib/semantic_logger.rb