Documentation
¶
Overview ¶
Package logger has helpers to setup a zerolog.Logger
https://github.com/rs/zerolog
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteErrorStackGlobal ¶
func WriteErrorStackGlobal(i bool)
WriteErrorStackGlobal is a convenience wrapper to set the zerolog Global variable ErrorStackMarshaler to write Error stacks for logs
Types ¶
type GCPSeverityHook ¶
type GCPSeverityHook struct{}
The GCPSeverityHook struct satisfies the zerolog.Hook interface as it has the Run method defined with the appropriate parameters
Click to show internal directories.
Click to hide internal directories.