Browse Source

payload

main
pvincent 5 months ago
parent
commit
166d0ccd6a
  1. 6
      lib/formatters/ansi_formatter.rb

6
lib/formatters/ansi_formatter.rb

@ -166,6 +166,12 @@ class AnsiFormatter < SemanticLogger::Formatters::Color
colorize(log.message) if log.message
end
def payload
return unless log.payload
log.payload.ai(indent: 2, object_id: false)
end
def exception
return unless log.exception

Loading…
Cancel
Save