Documentation ¶
Index ¶
- func Audit() (l *zap.Logger)
- func Debug(msg string, fields ...zapcore.Field)
- func Debugf(template string, args ...interface{})
- func Debugw(msg string, keysAndValues ...interface{})
- func DumpStack()
- func Error(msg string, fields ...zapcore.Field)
- func Errorf(template string, args ...interface{})
- func Errorw(msg string, keysAndValues ...interface{})
- func Fatal(msg string, fields ...zapcore.Field)
- func Info(msg string, fields ...zapcore.Field)
- func Infof(template string, args ...interface{})
- func Infow(msg string, keysAndValues ...interface{})
- func InitAuditLog(logPath string) (*zap.Logger, error)
- func Initialize(env, logpath string) (*zap.Logger, error)
- func SetAuditLog(l *zap.Logger)
- func SetLog(l *zap.Logger)
- func Warn(msg string, fields ...zapcore.Field)
- func Warnf(template string, args ...interface{})
- func Warnw(msg string, keysAndValues ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAuditLog ¶ added in v1.4.2
Types ¶
Click to show internal directories.
Click to hide internal directories.