Sha256: 81c8dd0e0f9dd8b61b1df49623a7a709a6c43dc7243a05ee9ab9abb79aff044e

Contents?: true

Size: 394 Bytes

Versions: 3

Compression:

Stored size: 394 Bytes

Contents

# Include sync_attr dependency
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
    autoload :MongoDB, 'semantic_logger/appender/mongodb'
  end
end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
semantic_logger-0.4.2 lib/semantic_logger.rb
semantic_logger-0.4.1 lib/semantic_logger.rb
semantic_logger-0.4.0 lib/semantic_logger.rb