Documentation
¶
Index ¶
- func SetLogLevel(newLevel LogLevel)
- func SetLogger(newLogger Backend)
- type Backend
- type IOLogger
- 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{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶
func SetLogLevel(newLevel LogLevel)
Types ¶
type Backend ¶
type Backend interface {
// contains filtered or unexported methods
}
Backend defines the public interface that must be implemented by all logger backends
Click to show internal directories.
Click to hide internal directories.