module Loggery

Provides a hook in Rails controllers that allows enriching log lines from within a Rails request with data that is available only within a controller action, for instance user information.

Hooks into LogStashLogger and adds the logging metadata that has been collected to the actual Logstash event

Rack middleware that adds basic request metadata to all log lines.

Sidekiq middleware that adds basic sidekiq metadata to all log lines.

Public Class Methods

setup_sidekiq() click to toggle source
# File lib/loggery.rb, line 20
def self.setup_sidekiq
  Loggery::Sidekiq::Setup.setup
end