Documentation ¶
Index ¶
- func Debug(msg string, fields ...zap.Field)
- func Debugf(fmtStr string, msgs ...interface{})
- func Error(msg string)
- func Errorf(fmtStr string, msgs ...interface{})
- func Info(msg string)
- func Infof(fmtStr string, msgs ...interface{})
- func Warn(msg string)
- func Warnf(fmtStr string, msgs ...interface{})
- type Logger
- func (l *Logger) Debug(msg string, fields ...zap.Field)
- func (l *Logger) Debugf(fmtStr string, msgs ...interface{})
- func (l *Logger) Error(msg string)
- func (l *Logger) Errorf(fmtStr string, msgs ...interface{})
- func (l *Logger) Info(msg string)
- func (l *Logger) Infof(fmtStr string, msgs ...interface{})
- func (l *Logger) Warn(msg string)
- func (l *Logger) Warnf(fmtStr string, msgs ...interface{})
- func (l *Logger) With(fields ...zap.Field) *Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(fmtStr string, msgs ...interface{})
Debugf is logging debug with printf format
func Errorf ¶
func Errorf(fmtStr string, msgs ...interface{})
Errorf is logging error with printf format
Types ¶
type Logger ¶ added in v0.1.7
Logger is service logger
Click to show internal directories.
Click to hide internal directories.