Sha256: 1372c0c2d3eb1b3486a1f6dd58866c48a16f9aa080b6d3570999183086badbdf

Contents?: true

Size: 780 Bytes

Versions: 5

Compression:

Stored size: 780 Bytes

Contents

module Rack::ActionLogger
  class << self
    attr_accessor :configuration
  end

  def self.new(app)
    Context.new(app)
  end

  def self.configure
    yield configuration
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.logger
    configuration.logger
  end

  autoload :Configuration, 'rack/action_logger/configuration'
  autoload :Container, 'rack/action_logger/container'
  autoload :Context, 'rack/action_logger/context'
  autoload :Emitter, 'rack/action_logger/emitter'
  autoload :ControllerConcerns, 'rack/action_logger/controller_concerns'
  autoload :EmitAdapter, 'rack/action_logger/emit_adapter'
  autoload :ParameterFiltering, 'rack/action_logger/parameter_filtering'
  autoload :Metrics, 'rack/action_logger/metrics'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rack-action_logger-0.1.6 lib/rack/action_logger.rb
rack-action_logger-0.1.5 lib/rack/action_logger.rb
rack-action_logger-0.1.4 lib/rack/action_logger.rb
rack-action_logger-0.1.3 lib/rack/action_logger.rb
rack-action_logger-0.1.2 lib/rack/action_logger.rb