lib/shoryuken/logging.rb in shoryuken-3.2.3 vs lib/shoryuken/logging.rb in shoryuken-3.3.0
- old
+ new
@@ -3,10 +3,10 @@
module Shoryuken
module Logging
class Pretty < Logger::Formatter
# Provide a call() method that returns the formatted message.
- def call(severity, time, program_name, message)
+ def call(severity, time, _program_name, message)
"#{time.utc.iso8601} #{Process.pid} TID-#{Thread.current.object_id.to_s(36)}#{context} #{severity}: #{message}\n"
end
def context
c = Thread.current[:shoryuken_context]