Sha256: ed3fae85c86e8aabb44ed3dd8fd34e3db37d436887d670b9adb4b36cce6803ed

Contents?: true

Size: 740 Bytes

Versions: 2

Compression:

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

2 entries across 2 versions & 1 rubygems

Version Path
semantic_logger-0.11.1 lib/semantic_logger.rb
semantic_logger-0.11.0 lib/semantic_logger.rb