module ActiveSupport::TaggedLogging::Formatter
Public Instance Methods
call(severity, timestamp, progname, msg)
click to toggle source
Calls superclass method
# File lib/contextual_logger/overrides/active_support/tagged_logging/formatter.rb, line 6 def call(severity, timestamp, progname, msg) msg_with_tags = case msg when Hash msg.merge(log_tags: current_tags.join(', ')) else "#{tags_text}#{msg}" end super(severity, timestamp, progname, msg_with_tags) end