Used internally toommunicate details of a log message across the Hoodoo::Communicators::Pool mechanism and through to a log writer. Log writer authors do not need to use this class; Hoodoo::Logger::WriterMixin unpacks it and calls your subclass's report implementation with individual parameters for you.

Methods
N
Attributes
[R] code

Code - see Hoodoo::Logger#report.

[R] component

Component - see Hoodoo::Logger#report.

[R] data

Data - see Hoodoo::Logger#report.

[R] log_level

Log level - see Hoodoo::Logger#report.

Class Public methods
new( log_level:, component:, code:, data: )

Create an instance. Named parameters are:

log_level

See Hoodoo::Logger#report.

component

See Hoodoo::Logger#report.

code

See Hoodoo::Logger#report.

data

See Hoodoo::Logger#report.

# File lib/hoodoo/logger/logger.rb, line 345
def initialize( log_level:, component:, code:, data: )
  @log_level = log_level
  @component = component
  @code      = code
  @data      = data
end