Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger logger.Logger
Logger is global logger with default configuration
Functions ¶
Types ¶
type Config ¶
type Config struct { Targets []string `yaml:"targets" env:"TARGETS" env-default:"" env-description:"Targets(addresses) to which the logger sends logs"` Dir string `yaml:"dir" env:"DIR" env-default:"logs" env-description:"Directory to store logs"` Debug bool `yaml:"debug" env:"DEBUG" env-default:"false" env-description:"Debug mode"` }
Config is struct to configure logger
Click to show internal directories.
Click to hide internal directories.