Documentation ¶
Index ¶
- type Logger
- type NullLogger
- func (n *NullLogger) Debug(args ...interface{})
- func (n *NullLogger) Debugf(format string, args ...interface{})
- func (n *NullLogger) Debugln(args ...interface{})
- func (n *NullLogger) Error(args ...interface{})
- func (n *NullLogger) Errorf(format string, args ...interface{})
- func (n *NullLogger) Errorln(args ...interface{})
- func (n *NullLogger) Fatal(format ...interface{})
- func (n *NullLogger) Fatalf(format string, args ...interface{})
- func (n *NullLogger) Fatalln(args ...interface{})
- func (n *NullLogger) Info(args ...interface{})
- func (n *NullLogger) Infof(format string, args ...interface{})
- func (n *NullLogger) Infoln(args ...interface{})
- func (n *NullLogger) Panic(args ...interface{})
- func (n *NullLogger) Panicf(format string, args ...interface{})
- func (n *NullLogger) Panicln(args ...interface{})
- func (n *NullLogger) Warn(args ...interface{})
- func (n *NullLogger) Warnf(format string, args ...interface{})
- func (n *NullLogger) Warnln(args ...interface{})
- func (n *NullLogger) WithError(err error) Logger
- func (n *NullLogger) WithField(key string, value interface{}) Logger
- func (n *NullLogger) WithFields(fields map[string]interface{}) Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Fatal(format ...interface{}) Fatalf(format string, args ...interface{}) Fatalln(args ...interface{}) Debug(args ...interface{}) Debugf(format string, args ...interface{}) Debugln(args ...interface{}) Error(args ...interface{}) Errorf(format string, args ...interface{}) Errorln(args ...interface{}) Info(args ...interface{}) Infof(format string, args ...interface{}) Infoln(args ...interface{}) Warn(args ...interface{}) Warnf(format string, args ...interface{}) Warnln(args ...interface{}) Panic(args ...interface{}) Panicf(format string, args ...interface{}) Panicln(args ...interface{}) WithFields(fields map[string]interface{}) Logger WithField(key string, value interface{}) Logger WithError(err error) Logger }
Logger interface for loggers
type NullLogger ¶
type NullLogger struct{}
NullLogger ...
func (*NullLogger) Debugf ¶
func (n *NullLogger) Debugf(format string, args ...interface{})
Debugf ...
func (*NullLogger) Errorf ¶
func (n *NullLogger) Errorf(format string, args ...interface{})
Errorf ...
func (*NullLogger) Fatalf ¶
func (n *NullLogger) Fatalf(format string, args ...interface{})
Fatalf ...
func (*NullLogger) Panicf ¶
func (n *NullLogger) Panicf(format string, args ...interface{})
Panicf ...
func (*NullLogger) WithField ¶
func (n *NullLogger) WithField(key string, value interface{}) Logger
WithField ...
func (*NullLogger) WithFields ¶
func (n *NullLogger) WithFields(fields map[string]interface{}) Logger
WithFields ...
Click to show internal directories.
Click to hide internal directories.