A Ruby structured logging is capable of handling a message, custom data or an exception easily and generates JSON or human readable logs.
frozen_string_literal
(by @skatkov)Hash
or cannot respond to_hash
is not outputOugai::Formatters::Pino
compatible with pino
initialize
arguments of Ougai::Formatters
as_json
, to_json
or to_hash
serialize_backtrace
attributechild
method with a block (by @eropple)