Documentation ¶
Index ¶
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func SetLogLevel(logLevel string)
- func Trace(v ...interface{})
- func Tracef(format string, v ...interface{})
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- type LogLevel
- type Logger
- type SimpleLogger
- func (sl *SimpleLogger) Debug(v ...interface{})
- func (sl *SimpleLogger) Debugf(format string, v ...interface{})
- func (sl *SimpleLogger) Error(v ...interface{})
- func (sl *SimpleLogger) Errorf(format string, v ...interface{})
- func (sl *SimpleLogger) Fatal(v ...interface{})
- func (sl *SimpleLogger) Fatalf(format string, v ...interface{})
- func (sl *SimpleLogger) Info(v ...interface{})
- func (sl *SimpleLogger) Infof(format string, v ...interface{})
- func (sl *SimpleLogger) Trace(v ...interface{})
- func (sl *SimpleLogger) Tracef(format string, v ...interface{})
- func (sl *SimpleLogger) Warn(v ...interface{})
- func (sl *SimpleLogger) Warnf(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶
func SetLogLevel(logLevel string)
Types ¶
type Logger ¶
type Logger interface { Debug(v ...interface{}) Debugf(format string, v ...interface{}) Info(v ...interface{}) Infof(format string, v ...interface{}) Warn(v ...interface{}) Warnf(format string, v ...interface{}) Error(v ...interface{}) Errorf(format string, v ...interface{}) Fatal(v ...interface{}) Fatalf(format string, v ...interface{}) }
type SimpleLogger ¶
type SimpleLogger struct {
// contains filtered or unexported fields
}
func (*SimpleLogger) Debug ¶
func (sl *SimpleLogger) Debug(v ...interface{})
func (*SimpleLogger) Debugf ¶
func (sl *SimpleLogger) Debugf(format string, v ...interface{})
func (*SimpleLogger) Error ¶
func (sl *SimpleLogger) Error(v ...interface{})
func (*SimpleLogger) Errorf ¶
func (sl *SimpleLogger) Errorf(format string, v ...interface{})
func (*SimpleLogger) Fatal ¶
func (sl *SimpleLogger) Fatal(v ...interface{})
func (*SimpleLogger) Fatalf ¶
func (sl *SimpleLogger) Fatalf(format string, v ...interface{})
func (*SimpleLogger) Info ¶
func (sl *SimpleLogger) Info(v ...interface{})
func (*SimpleLogger) Infof ¶
func (sl *SimpleLogger) Infof(format string, v ...interface{})
func (*SimpleLogger) Trace ¶
func (sl *SimpleLogger) Trace(v ...interface{})
func (*SimpleLogger) Tracef ¶
func (sl *SimpleLogger) Tracef(format string, v ...interface{})
func (*SimpleLogger) Warn ¶
func (sl *SimpleLogger) Warn(v ...interface{})
func (*SimpleLogger) Warnf ¶
func (sl *SimpleLogger) Warnf(format string, v ...interface{})
Click to show internal directories.
Click to hide internal directories.