Optional
levelOptional
logChanges the shape of the log object. This function will be called every time one of the log methods (such as .info
) is called.
All arguments passed to the log method, except the message, will be pass to this function. By default it does not change the shape of the log object.
By default, is set to
warn
.