Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigStr = `` /* 556-byte string literal not displayed */
Variables ¶
View Source
var ConfigPath string
View Source
var Overrides = map[string]string{}
Functions ¶
func DefaultStr ¶
func DefaultStr() string
Types ¶
type Config ¶
type Config struct { Input Input Outputs Outputs `toml:"output"` Formatters Formatters }
func DefaultConfig ¶
type Formatters ¶ added in v0.0.2
func (Formatters) Json ¶ added in v0.0.2
func (ff Formatters) Json() (jf JsonFormat)
type JsonFormat ¶ added in v0.0.2
type JsonFormat struct {
PrettyPrint bool `env:"LOG_JSON_PRETTY_PRINT" mapstructure:"pretty_print"`
}
Click to show internal directories.
Click to hide internal directories.