Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FatalError ¶
FatalError emits a log at the error level and causes the application to exit
func LogFromContext ¶
LogFromContext returns the Logger associated with the context Alternatively, returns the default logger
func LogToContext ¶
LogToContext returns a copy of the context with a slog logger attached
Types ¶
type LogFanoutHandler ¶
LogFanoutHandler is a slog.Handler that sends logs to multiple destinations
Click to show internal directories.
Click to hide internal directories.