Documentation ¶
Index ¶
- func Default() io.Writer
- func DefaultRotateFileWriter(filename string) io.Writer
- func NewFileWriter(file interface{}) io.Writer
- func NewRotateFileWriter(filename string, rotateTime time.Duration, expireTime time.Duration) io.Writer
- func StandardErrorWriter() io.Writer
- func StandardOutWriter() io.Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultRotateFileWriter ¶
func NewFileWriter ¶
NewFileWriter file can be a string, io.Writer
func NewRotateFileWriter ¶
func NewRotateFileWriter(filename string, rotateTime time.Duration, expireTime time.Duration) io.Writer
NewRotateFileWriter Rotate output and split local log files to avoid accumulation of excessive log content in a log file 轮转输出, 分割本地日志文件, 避免一个日志文件中堆积过多日志内容
func StandardErrorWriter ¶
func StandardOutWriter ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.