# Functions
LogId returns a new context and log ID after embedding the log identifier in the provided context, using the [ContextLogID] key.
MinLevel returns a new context after embedding the minimum log level in the provided context, using the [ContextMinLevel] key.
NewHandler returns a new handler from [slog.Handler].
NewLogger returns a new [slog.Logger].
WithHandler is an [Option] that defines an external [slog.Handler] to which the processed log entries will be forwarded.
WithMaxLevelAddSource is an [Option] that defines the maximum log level at which source code information is included in the log entry.
WithMinLevel is an [Option] that defines the minimum log level required for log entries to be processed.
# Variables
ContextLogID is used to record the log identifier in the context.
ContextMinLevel is used to set the minimum log level in the context.
ErrInvalidMinLevel is returned by [MinLevel] when the given level is not present in the allowed list (debug, info, warn, error).
# Type aliases
No description provided by the author