Documentation ¶
Index ¶
- type LogItem
- type Logger
- func (log *Logger) Debug(args ...interface{})
- func (log *Logger) Debugf(format string, args ...interface{})
- func (log *Logger) Error(args ...interface{})
- func (log *Logger) Errorf(format string, args ...interface{})
- func (log *Logger) Fatal(args ...interface{})
- func (log *Logger) Fatalf(format string, args ...interface{})
- func (log *Logger) GetLogCache() []LogItem
- func (log *Logger) Info(args ...interface{})
- func (log *Logger) Infof(format string, args ...interface{})
- func (log *Logger) Init(logFile string, logOut bool, logLevel string)
- func (log *Logger) Progressf(format string, args ...interface{})
- func (log *Logger) SetLogLevel(level string)
- func (log *Logger) SubscribeToLog(stop chan int) <-chan []LogItem
- func (log *Logger) Trace(args ...interface{})
- func (log *Logger) Tracef(format string, args ...interface{})
- func (log *Logger) Warn(args ...interface{})
- func (log *Logger) Warnf(format string, args ...interface{})
- type ProgressFormatter
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) GetLogCache ¶
func (*Logger) SetLogLevel ¶
func (*Logger) SubscribeToLog ¶
type ProgressFormatter ¶
type ProgressFormatter struct{}
Click to show internal directories.
Click to hide internal directories.