Documentation ¶
Index ¶
- Constants
- Variables
- type Logger
- func (l *Logger) Debug(from string, v ...interface{})
- func (l *Logger) Debugf(from string, format string, v ...interface{})
- func (l *Logger) Error(from string, v ...interface{})
- func (l *Logger) Errorf(from string, format string, v ...interface{})
- func (l *Logger) Fatal(from string, v ...interface{})
- func (l *Logger) Fatalf(from, format string, v ...interface{})
- func (l *Logger) GetLogger(name string) *Logger
- func (l *Logger) Info(from string, v ...interface{})
- func (l *Logger) Infof(from string, format string, v ...interface{})
- func (l *Logger) Panic(from string, v interface{})
- func (l *Logger) Panicf(from, format string, v ...interface{})
- func (l *Logger) Warn(from string, v ...interface{})
- func (l *Logger) Warnf(from string, format string, v ...interface{})
Constants ¶
View Source
const ( OFF int = iota FATAL PANIC ERROR WARN INFO DEBUG )
Variables ¶
View Source
var Level = DEBUG
View Source
var Out = colorable.NewColorableStdout()
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.