Sha256: fcbd9c9c5e140de245f5d2b7c0a4cbc79edff21d29e643cf479a32f7927af486

Contents?: true

Size: 366 Bytes

Versions: 19

Compression:

Stored size: 366 Bytes

Contents

require 'logging'

require 'ezlog/version'
require 'ezlog/railtie' if defined? Rails

module Ezlog
  autoload :LogContextHelper, 'ezlog/log_context_helper'
  autoload :LoggingLayout, 'ezlog/logging_layout'
  autoload :Rails, 'ezlog/rails'
  autoload :Sidekiq, 'ezlog/sidekiq'

  def self.logger(name)
    ::Logging::Logger[name]
  end

  extend LogContextHelper
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ezlog-0.10.7 lib/ezlog.rb
ezlog-0.10.5 lib/ezlog.rb
ezlog-0.10.3 lib/ezlog.rb
ezlog-0.10.2 lib/ezlog.rb
ezlog-0.10.1 lib/ezlog.rb
ezlog-0.10.0 lib/ezlog.rb
ezlog-0.9.6 lib/ezlog.rb
ezlog-0.9.5 lib/ezlog.rb
ezlog-0.9.1 lib/ezlog.rb
ezlog-0.9.0 lib/ezlog.rb
ezlog-0.8.0 lib/ezlog.rb
ezlog-0.7.1 lib/ezlog.rb
ezlog-0.7.0 lib/ezlog.rb
ezlog-0.6.0 lib/ezlog.rb
ezlog-0.5.3 lib/ezlog.rb
ezlog-0.5.2 lib/ezlog.rb
ezlog-0.5.1 lib/ezlog.rb
ezlog-0.5.0 lib/ezlog.rb
ezlog-0.4.0 lib/ezlog.rb