able to parse xml

This commit is contained in:
2024-01-28 16:49:48 +03:00
parent a0b36ba83d
commit dd639995bd
11 changed files with 295 additions and 87 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"`
}