Refine log output

This commit is contained in:
世界 committed 2022-07-04 16:45:32 +08:00
1 parent ca5b782106
commit 13f41f59d6
5 files changed
+159 -55

No files matched your search

+5 -3
View File
@@ -30,7 +30,9 @@ func (o Options) Equals(other Options) bool {
}
type LogOption struct {
Disabled bool `json:"disabled,omitempty"`
Level string `json:"level,omitempty"`
Output string `json:"output,omitempty"`
Disabled bool `json:"disabled,omitempty"`
Level string `json:"level,omitempty"`
Output string `json:"output,omitempty"`
Timestamp bool `json:"timestamp,omitempty"`
DisableColor bool `json:"-"`
}