优化日志库性能
This commit is contained in:
1 parent
f1cbf618d9
commit
d5bd01c7cc
9 files changed
+297
-168
No files matched your search
@@ -65,10 +65,13 @@ type Hk4eRobot struct {
|
||||
|
||||
// Logger 日志
|
||||
type Logger struct {
|
||||
Level string `toml:"level"`
|
||||
Mode string `toml:"mode"`
|
||||
Track bool `toml:"track"`
|
||||
MaxSize int32 `toml:"max_size"`
|
||||
Level string `toml:"level"`
|
||||
TrackLine bool `toml:"track_line"`
|
||||
TrackThread bool `toml:"track_thread"`
|
||||
EnableFile bool `toml:"enable_file"`
|
||||
FileMaxSize int32 `toml:"file_max_size"`
|
||||
DisableColor bool `toml:"disable_color"`
|
||||
EnableJson bool `toml:"enable_json"`
|
||||
}
|
||||
|
||||
// Database 数据库
|
||||
|
||||
Reference in new issue
Block a user