Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { Info(msg string, args ...any) Debug(msg string, args ...any) Warn(msg string, args ...any) Error(msg string, args ...any) }
Logger defines a logging interface for this project.
func FromContext ¶
FromContext fetches logger from provided context. If a logger doesn't exist, it returns the DefaultLogger.
Click to show internal directories.
Click to hide internal directories.