able to parse xml

This commit is contained in:
2024-01-28 16:49:48 +03:00
parent 90a7797a27
commit bfa105df95
12 changed files with 298 additions and 89 deletions

View File

@ -50,6 +50,6 @@ func (l *LogFormat) UnmarshalText(data []byte) (err error) {
}
type Log struct {
Level string `json:"level"`
Format string `json:"format"`
Level string `json:"level" toml:"level"`
Format string `json:"format" toml:"format"`
}