Versions in this module Expand all Collapse all v0 v0.2.0 Jul 20, 2023 v0.1.0 Feb 14, 2023 Changes in this version + const DefaultConfigFolder + const DefaultConfigName + const DefaultLogLevel + const DefaultLogLevelFieldName + const DefaultLogMessageFieldName + const DefaultLogTimestampFieldName + const EnvPrefix + func Load(file string) error + func Unmarshal() error + func Viper() *viper.Viper + type AppConfig struct + Global GlobalConfig + Run RunConfig + Version VersionConfig + func Get() *AppConfig + type GlobalConfig struct + ExtraFields map[string]string + LevelFieldName string + LogLevel zerolog.Level + LogLevelRaw string + MessageFieldName string + TimestampFieldName string + func (c *GlobalConfig) UnmarshalYAML(value *yaml.Node) error + type RunConfig struct + IgnoreStderr bool + IgnoreStdout bool + type VersionConfig struct + Plaintext bool + Verbose bool