mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-21 13:23:03 +01:00
* refactor: rename providers to Provider * refactor folders * fix build cmd * fix build cmd * fix build cmd * fix cmd start
17 lines
248 B
Go
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()),
|
|
}
|
|
}
|