Module: NewRelic::Agent::Instrumentation::Logger::Prepend

Includes:
NewRelic::Agent::Instrumentation::Logger
Defined in:
lib/new_relic/agent/instrumentation/logger/prepend.rb

Constant Summary

Constants included from NewRelic::Agent::Instrumentation::Logger

INSTRUMENTATION_NAME

Instance Method Summary collapse

Methods included from NewRelic::Agent::Instrumentation::Logger

#clear_skip_instrumenting, clear_skip_instrumenting, enabled?, #format_message_with_tracing, instrument!, mark_skip_instrumenting, #mark_skip_instrumenting, #skip_instrumenting?

Instance Method Details

#format_message(severity, datetime, progname, msg) ⇒ Object



9
10
11
# File 'lib/new_relic/agent/instrumentation/logger/prepend.rb', line 9

def format_message(severity, datetime, progname, msg)
  format_message_with_tracing(severity, datetime, progname, msg) { super }
end