Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct { Name string `cfg:"name; tips; ; the default logger name"` Path string `cfg:"path; logs/tips; ; the default log path"` Level string `cfg:"level; info; ; log level(debug, info, warn, error, panic, fatal)"` Compress bool `cfg:"compress; false; boolean; true for enabling log compress"` TimeRotate string `cfg:"time-rotate; 0 0 0 * * *; ; log time rotate pattern(s m h D M W)"` }
type Status ¶
type Status struct {
Listen string `cfg:"listen;0.0.0.0:7345;nonempty; listen address of http server"`
}
TODO
type TikvLogger ¶
type TikvLogger struct { Path string `cfg:"path; logs/tikv;nonempty ; the default log path"` Level string `cfg:"level; info; ; log level(debug, info, warn, error, panic, fatal)"` Compress bool `cfg:"compress; false; boolean; true for enabling log compress"` TimeRotate string `cfg:"time-rotate; 0 0 0 * * *; ; log time rotate pattern(s m h D M W)"` }
Click to show internal directories.
Click to hide internal directories.