package logger

import (
	"go.uber.org/zap/zapcore"
)

type Config struct {
	Format       string               `toml:"format"`
	Level        zapcore.LevelEnabler `toml:"level"`
	SuppressLogo bool                 `toml:"suppress-logo"`
}

// NewConfig returns a new instance of Config with defaults.
func NewConfig() Config {
	return Config{
		Format: "auto",
		Level:  zapcore.Level(0),
	}
}