Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseLogLevel ¶ added in v1.0.12
Types ¶
type Logger ¶
Logger is a wrapper around a slog.logger, which keeps track of prefixes and raw keys, such that prefixese can be added in a hierarchical manner.
func NewLoggerWithPrefixes ¶ added in v1.1.10
Create a new logger with a set of prefixes.
func (*Logger) ApplyPrefix ¶
Add an additional prefix to the logger
Click to show internal directories.
Click to hide internal directories.