class ScoutApm::Logger::DefaultFormatter
Public Instance Methods
Source
# File lib/scout_apm/logger.rb, line 145 def call(severity, time, progname, msg) # since STDOUT isn't exclusive like the scout_apm.log file, apply a prefix. # XXX: Pass in context to the formatter "[#{Utils::Time.to_s(time)} #{ScoutApm::Agent.instance.context.environment.hostname} (#{$$})] #{severity} : #{msg}\n" end