2021-06-01 04:09:50 +00:00
|
|
|
package schema
|
|
|
|
|
2021-06-08 13:15:43 +00:00
|
|
|
// LogConfiguration represents the logging configuration.
|
|
|
|
type LogConfiguration struct {
|
2021-06-01 04:09:50 +00:00
|
|
|
Level string `mapstructure:"level"`
|
|
|
|
Format string `mapstructure:"format"`
|
|
|
|
FilePath string `mapstructure:"file_path"`
|
|
|
|
KeepStdout bool `mapstructure:"keep_stdout"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// DefaultLoggingConfiguration is the default logging configuration.
|
2021-06-08 13:15:43 +00:00
|
|
|
var DefaultLoggingConfiguration = LogConfiguration{
|
2021-06-01 04:09:50 +00:00
|
|
|
Level: "info",
|
|
|
|
Format: "text",
|
|
|
|
}
|