add json_format option for structure logging

This commit is contained in:
2025-08-02 00:00:35 +03:00
parent 8684d178e0
commit 6e59af1662
3 changed files with 10 additions and 1 deletions

View File

@@ -55,6 +55,7 @@ type Updates struct {
}
type Log struct {
JSON *bool `mapstructure:"json_format"`
Level *string `mapstructure:"level"`
OutPath any `mapstructure:"output"`
}