Module: LogMethod

Defined in:
lib/log_method.rb,
lib/log_method.rb,
lib/log_method/version.rb

Defined Under Namespace

Modules: Log Classes: BugsnagAfterLog, Config, OpenTelemetryAfterLog, PaperTrailCurrentActor

Constant Summary collapse

VERSION =
"1.2.0"

Class Method Summary collapse

Class Method Details

.config(&block) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/log_method.rb', line 8

def self.config(&block)
  @config ||= LogMethod::Config.new
  if !block.nil?
    block.(@config)
  end
  @config
end