Files
sablier/pkg/config/logging.go
Alexis Couvreur fca9c79289 refactor: reorganize code structure (#556)
* refactor: rename providers to Provider

* refactor folders

* fix build cmd

* fix build cmd

* fix build cmd

* fix cmd start
2025-03-10 14:11:40 -04:00

17 lines
248 B
Go

package config
import (
"log/slog"
"strings"
)
type Logging struct {
Level string `mapstructure:"LEVEL" yaml:"level" default:"info"`
}
func NewLoggingConfig() Logging {
return Logging{
Level: strings.ToLower(slog.LevelInfo.String()),
}
}