Documentation
¶
Index ¶
Constants ¶
View Source
const ( // LevelNotice is a custom slog level for notice messages. LevelNotice = slog.Level(10) )
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
FromContext returns the logger stored in the context, or the default logger if none is found.
func NewContext ¶
NewContext returns a new context with the given logger attached.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.