Documentation ¶
Overview ¶
zap日志的封装
Index ¶
- func Debug(msg string, fields ...zap.Field)
- func Error(msg string, fields ...zap.Field)
- func ErrorWithoutNotice(msg string, fields ...zap.Field)
- func Fatal(msg string, fields ...zap.Field)
- func Info(msg string, fields ...zap.Field)
- func Warn(msg string, fields ...zap.Field)
- type Log
- func (l *Log) Debug(msg string, fields ...zap.Field)
- func (l *Log) Error(msg string, fields ...zap.Field)
- func (l *Log) ErrorWithoutNotice(msg string, fields ...zap.Field)
- func (l *Log) Fatal(msg string, fields ...zap.Field)
- func (l *Log) Info(msg string, fields ...zap.Field)
- func (l *Log) Warn(msg string, fields ...zap.Field)
- func (l *Log) With(fields ...zap.Field) *Log
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorWithoutNotice ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.