Sha256: 2067aafe16a43fbb4e82efb9af2606d70dcb4a9b2c86364f8139994009983b79

Contents?: true

Size: 542 Bytes

Versions: 3

Compression:

Stored size: 542 Bytes

Contents

# Include sync_attr dependency
require 'sync_attr'

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

  module Appender
    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

3 entries across 3 versions & 1 rubygems

Version Path
semantic_logger-0.6.2 lib/semantic_logger.rb
semantic_logger-0.6.1 lib/semantic_logger.rb
semantic_logger-0.6.0 lib/semantic_logger.rb