Documentation
¶
Overview ¶
Package log wraps the zap logger
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewZapCore ¶
NewZapCore creates a new zap core that wraps the default agent log instance.
func NewZapCoreWithDepth ¶ added in v0.77.0
NewZapCoreWithDepth creates a new zap core with a custom stack depth. This is useful when the zap logger is wrapped by additional layers (like slog) that add extra stack frames.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.