We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 400d187 commit 902ffb7Copy full SHA for 902ffb7
pkg/newlog/newlog.go
@@ -22,10 +22,10 @@ var (
22
)
23
24
type LogConfig struct {
25
- Path string `json:"path"`
26
- Level string `json:"level"`
27
- MaxSize int `json:"max_size"`
28
- MaxBackup int `json:"max_backup"`
+ Path string `json:"path" yaml:"path"`
+ Level string `json:"level" yaml:"level"`
+ MaxSize int `json:"max_size" yaml:"max_size"`
+ MaxBackup int `json:"max_backup" yaml:"max_backup"`
29
}
30
31
func setStrLogLevel(level string) {
pkg/version.go
@@ -1,3 +1,3 @@
1
package pkg
2
3
-const Version = "0.0.1"
+var Version = "0.0.1"
0 commit comments