Documentation
¶
Index ¶
- func DPanic(msg string, fields ...zap.Field)
- func DPanicM(msg string, m M)
- func DPanicf(format string, a ...interface{})
- func Debug(msg string, fields ...zap.Field)
- func DebugM(msg string, m M)
- func Debugf(format string, a ...interface{})
- func Error(msg string, fields ...zap.Field)
- func ErrorM(msg string, m M)
- func Errorf(format string, a ...interface{})
- func Fatal(msg string, fields ...zap.Field)
- func FatalM(msg string, m M)
- func Fatalf(format string, a ...interface{})
- func Info(msg string, fields ...zap.Field)
- func InfoM(msg string, m M)
- 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 PanicM(msg string, m M)
- 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 WarnM(msg string, m M)
- func Warnf(format string, a ...interface{})
- func Watch(fn func(logs xlog_abc.Xlog))
- func With(fields ...zap.Field) xlog_abc.Xlog
- type M
- type Xlog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefault ¶ added in v0.0.8
Types ¶
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.