Documentation
¶
Overview ¶
Package logger is responsible for setting up the application logger globally.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v0.0.11
type Config struct {
// env defines application's current environment that appears in the logs.
Env string
// level defines minimum log level that needs to be logged.
Level string
// Discard defines if the logs should be discarded or not.
Discard bool
}
Config holds configuration parameters.
Click to show internal directories.
Click to hide internal directories.