package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: May 20, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package logging provides a simple wrapper around slog to initialize the logger with the given configuration.
type Config struct {
Level string `yaml:"level"`
Handler string `yaml:"handler"`
}
Config defines the configuration for the logger.
Initialize initializes the logger with the given logging configuration.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.