Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter of slog logger for logger.Logger.
This adapter guarantees support of stock logger's levels.
func New ¶
New creates new logging adapter using provided slog.Logger.
Note, that by the contract of logger.Logger, adapter should not perform level-filtering internally - it is done by logger.Logger itself.
Click to show internal directories.
Click to hide internal directories.