Documentation ¶
Index ¶
- func DPanic(msg string, fields ...zap.Field)
- func DPanicFn(msg string, fn func(fields *xlog_abc.Fields))
- func DPanicf(format string, a ...interface{})
- func Debug(msg string, fields ...zap.Field)
- func DebugFn(msg string, fn func(fields *xlog_abc.Fields))
- func Debugf(format string, a ...interface{})
- func Error(msg string, fields ...zap.Field)
- func ErrorFn(msg string, fn func(fields *xlog_abc.Fields))
- func Errorf(format string, a ...interface{})
- func Fatal(msg string, fields ...zap.Field)
- func FatalFn(msg string, fn func(fields *xlog_abc.Fields))
- func Fatalf(format string, a ...interface{})
- func Info(msg string, fields ...zap.Field)
- func InfoFn(msg string, fn func(fields *xlog_abc.Fields))
- func Infof(format string, a ...interface{})
- func Named(s string, opts ...zap.Option) xlog_abc.Xlog
- func New(zl *zap.Logger) xlog_abc.Xlog
- func Panic(msg string, fields ...zap.Field)
- func PanicFn(msg string, fn func(fields *xlog_abc.Fields))
- func Panicf(format string, a ...interface{})
- func SetDefault(lg xlog_abc.Xlog) (err error)
- func Sync() error
- func Warn(msg string, fields ...zap.Field)
- func WarnFn(msg string, fn func(fields *xlog_abc.Fields))
- func Warnf(format string, a ...interface{})
- func Watch(fn func(logs xlog_abc.Xlog))
- func With(fields ...zap.Field) xlog_abc.Xlog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefault ¶ added in v0.0.8
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
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.