Documentation ¶
Overview ¶
Package logger provides support for initializing the log system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStdLogger ¶
NewStdLogger returns a standard library Logger that wraps the slog Logger.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger represents a logger for logging information.
type TraceIDFunc ¶
TraceIDFunc represents a function that can return the trace id from the specified context.
Click to show internal directories.
Click to hide internal directories.