diff --git a/pkg/config/logging.go b/pkg/config/logging.go new file mode 100644 index 00000000..205874c9 --- /dev/null +++ b/pkg/config/logging.go @@ -0,0 +1,14 @@ +package config + +import ( + "github.com/icinga/icingadb/internal/logging" + "go.uber.org/zap/zapcore" +) + +// Logging defines Logger configuration. +type Logging struct { + // zapcore.Level at 0 is for info level. + Level zapcore.Level `yaml:"level" default:"0"` + + logging.Options `yaml:"options"` +}