Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Level is the general logging Level. If cores have more specific config it will override this.
Level string `json:"level"`
AppInsights *cores.AppInsightsConfig `json:"appInsights,omitempty"`
File *cores.FileConfig `json:"file,omitempty"`
// contains filtered or unexported fields
}
func (*Config) Normalize ¶
func (c *Config) Normalize()
Normalize checks the Config for missing or illegal values and sets them to defaults if appropriate.
func (*Config) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler for the Config. It only differs from the default by parsing the Level string into a zapcore.Level and setting the level field.
Click to show internal directories.
Click to hide internal directories.