Documentation ¶
Index ¶
- type CmdLogger
- func (l *CmdLogger) DPanic(args ...interface{})
- func (l *CmdLogger) DPanicf(template string, args ...interface{})
- func (l *CmdLogger) Debug(args ...interface{})
- func (l *CmdLogger) Debugf(template string, args ...interface{})
- func (l *CmdLogger) Error(args ...interface{})
- func (l *CmdLogger) Errorf(template string, args ...interface{})
- func (l *CmdLogger) Fatal(args ...interface{})
- func (l *CmdLogger) Fatalf(template string, args ...interface{})
- func (l *CmdLogger) Info(args ...interface{})
- func (l *CmdLogger) Infof(template string, args ...interface{})
- func (l *CmdLogger) InitLogger()
- func (l *CmdLogger) Panic(args ...interface{})
- func (l *CmdLogger) Panicf(template string, args ...interface{})
- func (l *CmdLogger) Warn(args ...interface{})
- func (l *CmdLogger) Warnf(template string, args ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdLogger ¶
type CmdLogger struct {
// contains filtered or unexported fields
}
func NewCliLogger ¶
func (*CmdLogger) InitLogger ¶
func (l *CmdLogger) InitLogger()
type Logger ¶
type Logger 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{}) DPanic(args ...interface{}) DPanicf(format string, args ...interface{}) Fatal(args ...interface{}) Fatalf(format string, args ...interface{}) }
Click to show internal directories.
Click to hide internal directories.