Documentation
¶
Index ¶
- type Level
- type LogEntry
- type Logger
- func (l *Logger) Error(format string, v ...interface{})
- func (l *Logger) ErrorLogger() *log.Logger
- func (l *Logger) Fatal(v ...interface{})
- func (l *Logger) Info(format string, v ...interface{})
- func (l *Logger) SetOutput(w io.Writer)
- func (l *Logger) SetOutputChannel(c chan LogEntry)
- func (l *Logger) SetVerbose(verbose bool)
- func (l *Logger) Warning(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) ErrorLogger ¶ added in v0.2.0
Return Error Logger
func (*Logger) SetOutput ¶
Sets the output destination for the loggers By default destination is stdout, you can change that with this function
func (*Logger) SetOutputChannel ¶ added in v0.4.0
Sets the output to a channel
Click to show internal directories.
Click to hide internal directories.