Writes one JSON object per log record.
Structured fields appear at the top level. Reserved record fields (time,
level, name, message, and trace when generated) replace fields with
the same names from args. Values pass through inspectJson.
Returns a concise representation for text inspection.
Returns a JSON-safe value for logs.
Creates a JSON handler.
The default level is Level.INFO, all logger names match, and output goes to the process console.
Writes one JSON object per log record.
Structured fields appear at the top level. Reserved record fields (
time,level,name,message, andtracewhen generated) replace fields with the same names fromargs. Values pass through inspectJson.