Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultKeySeparator = "_"
DefaultKeySeparator is the default separator for group key prefixes.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogOption ¶
type LogOption func(*logOptions) error
LogOption configures the standard logger creation.
func WithCaller ¶
WithCaller enables source injection. Optional skip overrides the user skip frames.
func WithLevel ¶
func WithLevel(level unilog.LogLevel) LogOption
WithLevel sets the minimum log level.
func WithSeparator ¶
WithSeparator sets the separator for group key prefixes.
Click to show internal directories.
Click to hide internal directories.