Documentation
¶
Index ¶
- type AppLogger
- func (l *AppLogger) DPanic(args ...interface{})
- func (l *AppLogger) DPanicf(template string, args ...interface{})
- func (l *AppLogger) DPanicw(msg string, args ...interface{})
- func (l *AppLogger) Debug(args ...interface{})
- func (l *AppLogger) Debugf(template string, args ...interface{})
- func (l *AppLogger) Debugw(msg string, args ...interface{})
- func (l *AppLogger) Error(args ...interface{})
- func (l *AppLogger) Errorf(template string, args ...interface{})
- func (l *AppLogger) Errorw(msg string, args ...interface{})
- func (l *AppLogger) Fatal(args ...interface{})
- func (l *AppLogger) Fatalf(template string, args ...interface{})
- func (l *AppLogger) Fatalw(msg string, args ...interface{})
- func (l *AppLogger) Info(args ...interface{})
- func (l *AppLogger) Infof(template string, args ...interface{})
- func (l *AppLogger) Infow(msg string, args ...interface{})
- func (l *AppLogger) InitLogger()
- func (l *AppLogger) Panic(args ...interface{})
- func (l *AppLogger) Panicf(template string, args ...interface{})
- func (l *AppLogger) Panicw(msg string, args ...interface{})
- func (l *AppLogger) Warn(args ...interface{})
- func (l *AppLogger) Warnf(template string, args ...interface{})
- func (l *AppLogger) Warnw(msg string, args ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppLogger ¶
type AppLogger struct {
// contains filtered or unexported fields
}
func NewAppLogger ¶
func (*AppLogger) InitLogger ¶
func (l *AppLogger) InitLogger()
type Logger ¶
type Logger interface {
InitLogger()
Debug(args ...interface{})
Debugf(tmpl string, args ...interface{})
Debugw(msg string, args ...interface{})
Info(args ...interface{})
Infof(tmpl string, args ...interface{})
Infow(msg string, args ...interface{})
Warn(args ...interface{})
Warnf(tmpl string, args ...interface{})
Warnw(msg string, args ...interface{})
Error(args ...interface{})
Errorf(tmpl string, args ...interface{})
Errorw(msg string, args ...interface{})
}
Click to show internal directories.
Click to hide internal directories.