Sha256: cc18c1e303895d1db2b2087881206136f63bc4ad67b9edc2f4201b0557e32bfb

Contents?: true

Size: 741 Bytes

Versions: 1

Compression:

Stored size: 741 Bytes

Contents

# Place requires here to prevent issues on JRuby with global.require.lock=true
require 'thread'
require 'thread_safe'
require 'sync_attr'

module SemanticLogger
  autoload :Base,      'semantic_logger/base'
  autoload :Logger,    'semantic_logger/logger'
  autoload :Attribute, 'semantic_logger/attribute'

  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'
  end

  # Logging levels in order with most detailed logging first
  LEVELS = [:trace, :debug, :info, :warn, :error, :fatal]
end

if defined?(Rails)
  require 'semantic_logger/railtie'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
semantic_logger-0.10.0 lib/semantic_logger.rb