vendor/bundle/ruby/2.6.0/gems/lumberjack-1.2.8/lib/lumberjack/formatter.rb
def format(message)
      formatter = formatter_for(message.class)
      if formatter&.respond_to?(:call)
        formatter.call(message)
      else
        message
      end
    end
# Format a message object as a string.
Format a message object as a string.
Format a message object as a string .
def format(message)
      formatter = formatter_for(message.class)
      if formatter&.respond_to?(:call)
        formatter.call(message)
      else
        message
      end
    end
def format ( message ) formatter = formatter_for ( message . class ) if formatter &. respond_to? ( :call ) formatter . call ( message ) else message end end
Format a message object as a string.
Format a message object as a string .
message