Sha256: 77e2adc76b25077823a1764479e67b08bab40c48ff4210cb5c7b2e524da13f3b

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

# Temp until in Gemfile
require 'sync_attr'

module SemanticLogger
  autoload :Logger, 'semantic_logger/logger'

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
semantic_logger-0.0.2 lib/semantic_logger.rb