Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // overridden by the build system Version = "dev" BuildCommit = "" BuildDate = "" )
Functions ¶
Types ¶
type ActivityLogConfig ¶ added in v0.6.17
type ActivityLogConfig struct {
// activity sink strategy - db, stdout, none
Sink string `yaml:"sink" mapstructure:"sink" default:"none"`
}
type Log ¶ added in v0.6.17
type Log struct {
// log level - debug, info, warning, error, fatal
Level string `yaml:"level" mapstructure:"level" default:"info"`
// format strategy - plain, json
Format string `yaml:"format" mapstructure:"format" default:"json"`
Activity ActivityLogConfig `yaml:"activity" mapstructure:"activity"`
}
Click to show internal directories.
Click to hide internal directories.