Documentation ¶
Index ¶
- func AddFilter(name string, level Level, writer LogWriter)
- func Close(args ...interface{})
- func Critical(arg0 interface{}, args ...interface{})
- func Debug(arg0 interface{}, args ...interface{})
- func Error(arg0 interface{}, args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fine(arg0 interface{}, args ...interface{})
- func Finest(arg0 interface{}, args ...interface{})
- func Info(arg0 interface{}, args ...interface{})
- func Logf(level Level, format string, args ...interface{})
- func NewConsoleLogWriter() *consoleLogWriter
- func NewFileLogWriter(fname string, rotate bool) *fileLogWriter
- func NewLogWriter(h func(string)) *logWriter
- func Trace(arg0 interface{}, args ...interface{})
- func Warn(arg0 interface{}, args ...interface{})
- type Level
- type LogWriter
- type Logger
- func (l *Logger) AddFilter(name string, level Level, writer LogWriter)
- func (l *Logger) Close(args ...interface{})
- func (l *Logger) Critical(arg0 interface{}, args ...interface{})
- func (l *Logger) Debug(arg0 interface{}, args ...interface{})
- func (l *Logger) Error(arg0 interface{}, args ...interface{})
- func (l *Logger) Errorf(format string, args ...interface{})
- func (l *Logger) Fine(arg0 interface{}, args ...interface{})
- func (l *Logger) Finest(arg0 interface{}, args ...interface{})
- func (l *Logger) Info(arg0 interface{}, args ...interface{})
- func (l *Logger) Logf(level Level, format string, args ...interface{})
- func (l *Logger) Trace(arg0 interface{}, args ...interface{})
- func (l *Logger) Warn(arg0 interface{}, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsoleLogWriter ¶
func NewConsoleLogWriter() *consoleLogWriter
func NewFileLogWriter ¶
func NewLogWriter ¶
func NewLogWriter(h func(string)) *logWriter
Types ¶
Click to show internal directories.
Click to hide internal directories.