Documentation ¶
Index ¶
- type Logger
- func (l Logger) Debug(args ...interface{})
- func (l Logger) Debugf(format string, args ...interface{})
- func (l Logger) Error(args ...interface{})
- func (l Logger) Errorf(format string, args ...interface{})
- func (l Logger) Fatal(args ...interface{})
- func (l Logger) Fatalf(format string, args ...interface{})
- func (l Logger) Info(args ...interface{})
- func (l Logger) Infof(format string, args ...interface{})
- func (l Logger) Printf(format string, args ...interface{})
- func (l Logger) Println(args ...interface{})
- func (l Logger) Warn(args ...interface{})
- func (l Logger) Warnf(format string, args ...interface{})
- func (l Logger) Warning(args ...interface{})
- func (l Logger) Warningf(format string, args ...interface{})
- type LoggerInterface
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger provides a log interface to verbose messages to the user
func NewDummyLogger ¶
NewDummyLogger create a dummy no-op logger
type LoggerInterface ¶
type LoggerInterface interface { Debugt(msg string, fields ...zapcore.Field) Debugf(template string, args ...interface{}) Debugw(msg string, keysAndValues ...interface{}) Debug(msg string, keysAndValues ...interface{}) Debugs(args ...interface{}) Infot(msg string, fields ...zapcore.Field) Infof(template string, args ...interface{}) Infow(msg string, keysAndValues ...interface{}) Info(msg string, keysAndValues ...interface{}) Infos(args ...interface{}) Warnt(msg string, fields ...zapcore.Field) Warnf(template string, args ...interface{}) Warnw(msg string, keysAndValues ...interface{}) Warn(msg string, keysAndValues ...interface{}) Warns(args ...interface{}) Errort(msg string, fields ...zapcore.Field) Errorf(template string, args ...interface{}) Errorw(msg string, keysAndValues ...interface{}) Error(msg string, keysAndValues ...interface{}) Errors(args ...interface{}) Panict(msg string, fields ...zapcore.Field) Panicf(template string, args ...interface{}) Panicw(msg string, keysAndValues ...interface{}) Panic(msg string, keysAndValues ...interface{}) Panics(args ...interface{}) Fatalt(msg string, fields ...zapcore.Field) Fatalf(template string, args ...interface{}) Fatalw(msg string, keysAndValues ...interface{}) Fatal(msg string, keysAndValues ...interface{}) Fatals(args ...interface{}) AtLevel(level zapcore.Level, msg string, fields ...zapcore.Field) *Logger }
Click to show internal directories.
Click to hide internal directories.