Creates a sink that writes JSON log entries to the console, routed to the matching console method for each level (error, warn, info, …).
console
error
warn
info
The shape of the objects this sink accepts.
Creates a sink that writes JSON log entries to the console, routed to the matching
consolemethod for each level (error,warn,info, …).