Documentation
¶
Index ¶
- func Debug(logger Logger, message string, fields map[string]any)
- func Error(logger Logger, message string, fields map[string]any)
- func Fail(timer Timer, reason string, fields map[string]any)
- func Info(logger Logger, message string, fields map[string]any)
- func Log(logger Logger, level string, message string, fields map[string]any)
- func NewCorrelationID() string
- func Stop(timer Timer, fields map[string]any)
- func Warn(logger Logger, message string, fields map[string]any)
- type Logger
- type Timer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCorrelationID ¶
func NewCorrelationID() string
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func WithCorrelation ¶
Click to show internal directories.
Click to hide internal directories.