Module Lumberjack
In: lib/lumberjack/formatter/inspect_formatter.rb
lib/lumberjack/formatter/pretty_print_formatter.rb
lib/lumberjack/formatter/string_formatter.rb
lib/lumberjack/formatter/exception_formatter.rb
lib/lumberjack/log_entry.rb
lib/lumberjack/logger.rb
lib/lumberjack/rack.rb
lib/lumberjack/severity.rb
lib/lumberjack/device/writer.rb
lib/lumberjack/device/log_file.rb
lib/lumberjack/device/null.rb
lib/lumberjack/device/date_rolling_log_file.rb
lib/lumberjack/device/size_rolling_log_file.rb
lib/lumberjack/device/rolling_log_file.rb
lib/lumberjack/formatter.rb
lib/lumberjack/rack/unit_of_work.rb
lib/lumberjack/template.rb
lib/lumberjack/device.rb
lib/lumberjack.rb

Methods

Classes and Modules

Module Lumberjack::Rack
Module Lumberjack::Severity
Class Lumberjack::Device
Class Lumberjack::Formatter
Class Lumberjack::LogEntry
Class Lumberjack::Logger
Class Lumberjack::Template

Constants

LINE_SEPARATOR = (RbConfig::CONFIG['host_os'].match(/mswin/i) ? "\r\n" : "\n")

Public Class methods

Define a unit of work within a block. Within the block supplied to this method, calling unit_of_work_id will return the same 12 digit hexadecimal number string. This can then be used for tying together log entries.

For the common use case of treating a single web request as a unit of work, see the Lumberjack::Rack::UnitOfWork class.

Get the UniqueIdentifier for the current unit of work.

[Validate]