Documentation
¶
Index ¶
- type Empty
- func (v Empty) Debug(args ...interface{})
- func (v Empty) Debugf(format string, args ...interface{})
- func (v Empty) Error(args ...interface{})
- func (v Empty) Errorf(format string, args ...interface{})
- func (v Empty) Info(args ...interface{})
- func (v Empty) Infof(format string, args ...interface{})
- func (v Empty) Warn(args ...interface{})
- func (v Empty) Warnf(format string, args ...interface{})
- type Level
- type Log
- type Logger
- func (l *Logger) Debug(args ...interface{})
- func (l *Logger) Debugf(format string, args ...interface{})
- func (l *Logger) EnableFileInfo(skip int) *Logger
- 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) Panic(args ...interface{})
- func (l *Logger) Panicf(format string, args ...interface{})
- func (l *Logger) SetLevel(level int)
- func (l *Logger) V(level Level) Verbose
- func (l *Logger) Warn(args ...interface{})
- func (l *Logger) Warnf(format string, args ...interface{})
- type Logrus
- func (v Logrus) Debug(args ...interface{})
- func (v Logrus) Debugf(format string, args ...interface{})
- func (v Logrus) Error(args ...interface{})
- func (v Logrus) Errorf(format string, args ...interface{})
- func (v Logrus) Info(args ...interface{})
- func (v Logrus) Infof(format string, args ...interface{})
- func (v Logrus) Warn(args ...interface{})
- func (v Logrus) Warnf(format string, args ...interface{})
- type Verbose
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log interface { Debug(args ...interface{}) Debugf(args ...interface{}) Info(args ...interface{}) Infof(args ...interface{}) Warn(args ...interface{}) Warnf(args ...interface{}) Error(args ...interface{}) Errorf(args ...interface{}) }
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) EnableFileInfo ¶
type Logrus ¶
type Logrus struct {
// contains filtered or unexported fields
}
Verbose is a boolean type that implements Infof (like Printf) etc.
type Verbose ¶
type Verbose interface { Debug(args ...interface{}) Debugf(format string, args ...interface{}) Info(args ...interface{}) Infof(format string, args ...interface{}) Warn(args ...interface{}) Warnf(format string, args ...interface{}) Error(args ...interface{}) Errorf(format string, args ...interface{}) }
Click to show internal directories.
Click to hide internal directories.