Sha256: afbccac9f9687d5705bfad6df5b9fbf4d9dee9547e42c2c91ab19aff41cb45ea

Contents?: true

Size: 446 Bytes

Versions: 4

Compression:

Stored size: 446 Bytes

Contents

# Include sync_attr dependency
require 'sync_attr'

module SemanticLogger
  autoload :Logger, 'semantic_logger/logger'

  module Appender
    autoload :File, 'semantic_logger/appender/file'
    autoload :Logger, 'semantic_logger/appender/logger'
    # Only load the MongoDB appender if the Mongo Ruby Driver is loaded
    autoload :MongoDB, 'semantic_logger/appender/mongodb'
  end
end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
semantic_logger-0.5.3 lib/semantic_logger.rb
semantic_logger-0.5.2 lib/semantic_logger.rb
semantic_logger-0.5.1 lib/semantic_logger.rb
semantic_logger-0.5.0 lib/semantic_logger.rb