package
Version:
v0.0.0-...-1b19c93
Opens a new window with list of versions in this module.
Published: Aug 25, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package logger is responsible for logging.
New creates new instance of logging apparatus.
Logrus.Entry is returned as it's always decorated with fields.
type Config struct {
Level LogLevel `envconfig:"default=info"`
}
Config is responsible for configuring logger.
Formatter is a log formatter
LogLevel is a config field type holding minimal log level.
It's compatible with logrus level types.
Unmarshal provides custom parsing of Log Level.
Implements envconfig.Unmarshal interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.