homebox/backend/internal/config/conf_logger.go

12 lines
176 B
Go
Raw Normal View History

2022-08-30 02:30:36 +00:00
package config
2022-09-14 17:35:23 +00:00
const (
LogFormatJSON = "json"
LogFormatText = "text"
)
2022-08-30 02:30:36 +00:00
type LoggerConf struct {
2022-09-14 17:35:23 +00:00
Level string `conf:"default:info"`
Format string `conf:"default:text"`
2022-08-30 02:30:36 +00:00
}