Use customPrettifiers to format log properties
masterThe customPrettifiers option allows you to define custom formatting functions for specific log properties. This includes standard keys like time, hostname, pid, name, caller, and level, as well as any arbitrary key in your log object.
Each prettifier function follows this signature:
(output, keyName, logObj, extras) => string
output: The value of the property being prettified.keyName: The name of the property.logObj: The full log object.extras: An object containing additional context. Forlevelprettifiers, it includeslabel,labelColorized, and acolorsobject (a Colorette instance).