Documentation ¶
Index ¶
- func Debug(a ...interface{})
- func Debugf(format string, a ...interface{})
- func Error(a ...interface{})
- func Errorf(format string, a ...interface{})
- func Fatal(a ...interface{})
- func Fatalf(format string, a ...interface{})
- func Info(a ...interface{})
- func Infof(format string, a ...interface{})
- func Log(level Level, a ...interface{})
- func Logf(level Level, format string, a ...interface{})
- func Warn(a ...interface{})
- func Warnf(format string, a ...interface{})
- type Level
- type Logger
- func (l *Logger) Debug(a ...interface{})
- func (l *Logger) Debugf(format string, a ...interface{})
- func (l *Logger) Error(a ...interface{})
- func (l *Logger) Errorf(format string, a ...interface{})
- func (l *Logger) Fatal(a ...interface{})
- func (l *Logger) Fatalf(format string, a ...interface{})
- func (l *Logger) GetCounter() int64
- func (l *Logger) Info(a ...interface{})
- func (l *Logger) Infof(format string, a ...interface{})
- func (l *Logger) Log(level Level, a ...interface{})
- func (l *Logger) Logf(level Level, format string, a ...interface{})
- func (l *Logger) SetLevel(level Level)
- func (l *Logger) Warn(a ...interface{})
- func (l *Logger) Warnf(format string, a ...interface{})
- type ThreadLog
- type ThreadLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) GetCounter ¶
type ThreadLogger ¶
type ThreadLogger struct {
// contains filtered or unexported fields
}
func NewThreadLogger ¶
func NewThreadLogger(logs <-chan ThreadLog, capacity uint) *ThreadLogger
func (*ThreadLogger) Listen ¶
func (l *ThreadLogger) Listen()
func (*ThreadLogger) SetLogger ¶
func (l *ThreadLogger) SetLogger(logger *Logger)
Click to show internal directories.
Click to hide internal directories.