Documentation ¶
Index ¶
- Variables
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func Init(logFile string, logOut bool, logLevel string)
- func Progressf(format string, args ...interface{})
- func SetLogLevel(level string)
- func SubscribeToLog(stop chan int) <-chan []LogItem
- func Trace(args ...interface{})
- func Tracef(format string, args ...interface{})
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- type LogItem
- type ProgressFormatter
Constants ¶
This section is empty.
Variables ¶
View Source
var LogCache []LogItem
Functions ¶
func SetLogLevel ¶
func SetLogLevel(level string)
func SubscribeToLog ¶
Types ¶
type LogItem ¶
type LogItem struct { Time time.Time `json:"time"` Type string `json:"type"` Message string `json:"message"` }
func GetLogCache ¶
func GetLogCache() []LogItem
type ProgressFormatter ¶
type ProgressFormatter struct{}
Click to show internal directories.
Click to hide internal directories.