Documentation ¶
Index ¶
- func SetLogLevel(newLevel LogLevel)
- func SetLogger(newLogger Backend)
- type Backend
- type FileLogger
- type LogLevel
- type Logger
- func (l *Logger) Debug(format string, args ...interface{})
- func (l *Logger) Error(format string, args ...interface{})
- func (l *Logger) Fatal(format string, args ...interface{})
- func (l *Logger) Info(format string, args ...interface{})
- func (l *Logger) LineTrace()
- func (l *Logger) Trace(format string, args ...interface{})
- func (l *Logger) Warn(format string, args ...interface{})
- type STDIOLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶
func SetLogLevel(newLevel LogLevel)
Types ¶
type FileLogger ¶ added in v0.1.4
type FileLogger struct {
// contains filtered or unexported fields
}
func NewFileLogger ¶ added in v0.1.4
func NewFileLogger(filename string) (*FileLogger, error)
func (*FileLogger) Close ¶ added in v0.1.7
func (l *FileLogger) Close()
type STDIOLogger ¶ added in v0.1.4
type STDIOLogger struct { }
func (*STDIOLogger) Close ¶ added in v0.1.7
func (l *STDIOLogger) Close()
Click to show internal directories.
Click to hide internal directories.