Sha256: f09e349c186dbea659444e0891a54997de5a66d6eabb43077009f3a0fe28dea1

Contents?: true

Size: 774 Bytes

Versions: 5

Compression:

Stored size: 774 Bytes

Contents

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

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

5 entries across 5 versions & 1 rubygems

Version Path
semantic_logger-1.0.1 lib/semantic_logger.rb
semantic_logger-1.0.0 lib/semantic_logger.rb
semantic_logger-0.11.4 lib/semantic_logger.rb
semantic_logger-0.11.3 lib/semantic_logger.rb
semantic_logger-0.11.2 lib/semantic_logger.rb