Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XLog ¶ added in v0.0.3
type XLog interface { Debug(msg string, fields ...Field) DebugF(format string, a ...interface{}) Info(msg string, fields ...Field) InfoF(format string, a ...interface{}) Warn(msg string, fields ...Field) WarnF(format string, a ...interface{}) Error(msg string, fields ...Field) ErrorF(format string, a ...interface{}) DPanic(msg string, fields ...Field) DPanicF(format string, a ...interface{}) Panic(msg string, fields ...Field) PanicF(format string, a ...interface{}) Fatal(msg string, fields ...Field) FatalF(format string, a ...interface{}) Named(s string, opts ...zap.Option) XLog With(fields ...Field) XLog }
Directories ¶
Path | Synopsis |
---|---|
writer
|
|
rotate/file-rotatelogs
package rotatelogs is a port of File-RotateLogs from Perl (https://metacpan.org/release/File-RotateLogs), and it allows you to automatically rotate output files when you write to them according to the filename pattern that you can specify.
|
package rotatelogs is a port of File-RotateLogs from Perl (https://metacpan.org/release/File-RotateLogs), and it allows you to automatically rotate output files when you write to them according to the filename pattern that you can specify. |
Click to show internal directories.
Click to hide internal directories.