Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertLevel ¶
ConvertLevel Convert a zerolog log level into the corresponding pino one
Types ¶
type PinoLevel ¶
type PinoLevel string
PinoLevel is a string representation of levels adopted PinoJS logger
const ( Trace PinoLevel = "10" Debug PinoLevel = "20" Info PinoLevel = "30" Warn PinoLevel = "40" Error PinoLevel = "50" Fatal PinoLevel = "60" Panic PinoLevel = "70" )
Represents all the Pino log levels accepted Note: the Panic level has been added to cover this log level not available in Javascript
Click to show internal directories.
Click to hide internal directories.