add timezone and timeformat (#572)
* add timezone and timeformat * rm time zone and keep time format Co-authored-by: Tony Wang <tonywang.data@gmail.com>
This commit is contained in:
@@ -4,6 +4,7 @@ package logx
|
||||
type LogConf struct {
|
||||
ServiceName string `json:",optional"`
|
||||
Mode string `json:",default=console,options=console|file|volume"`
|
||||
TimeFormat string `json:",optional"`
|
||||
Path string `json:",default=logs"`
|
||||
Level string `json:",default=info,options=info|error|severe"`
|
||||
Compress bool `json:",optional"`
|
||||
|
||||
Reference in New Issue
Block a user