Versions in this module Expand all Collapse all v1 v1.1.1 Jun 5, 2019 Changes in this version + var CRITICAL *log.Logger + var DEBUG *log.Logger + var ERROR *log.Logger + var FATAL *log.Logger + var FEEDBACK *Feedback + var INFO *log.Logger + var LOG *log.Logger + var TRACE *log.Logger + var WARN *log.Logger + func SetFlags(flags int) + func SetLogListeners(l ...LogListener) + func SetLogOutput(handle io.Writer) + func SetLogThreshold(threshold Threshold) + func SetPrefix(prefix string) + func SetStdoutOutput(handle io.Writer) + func SetStdoutThreshold(threshold Threshold) + type Counter struct + func (c *Counter) Count() uint64 + func (c *Counter) Reset() + func (c *Counter) Write(p []byte) (n int, err error) + type Feedback struct + func (fb *Feedback) Print(v ...interface{}) + func (fb *Feedback) Printf(format string, v ...interface{}) + func (fb *Feedback) Println(v ...interface{}) + type LogListener func(t Threshold) io.Writer + func LogCounter(counter *Counter, t1 Threshold) LogListener + type Notepad struct + CRITICAL *log.Logger + DEBUG *log.Logger + ERROR *log.Logger + FATAL *log.Logger + FEEDBACK *Feedback + INFO *log.Logger + LOG *log.Logger + TRACE *log.Logger + WARN *log.Logger + func NewNotepad(outThreshold Threshold, logThreshold Threshold, outHandle, logHandle io.Writer, ...) *Notepad + func (n *Notepad) GetLogHandle() io.Writer + func (n *Notepad) GetLogThreshold() Threshold + func (n *Notepad) GetOutHandle() io.Writer + func (n *Notepad) GetStdoutThreshold() Threshold + func (n *Notepad) SetFlags(flags int) + func (n *Notepad) SetLogOutput(handle io.Writer) + func (n *Notepad) SetLogThreshold(threshold Threshold) + func (n *Notepad) SetPrefix(prefix string) + func (n *Notepad) SetStdoutOutput(handle io.Writer) + func (n *Notepad) SetStdoutThreshold(threshold Threshold) + type Threshold int + const LevelCritical + const LevelDebug + const LevelError + const LevelFatal + const LevelInfo + const LevelTrace + const LevelWarn + func GetLogThreshold() Threshold + func GetStdoutThreshold() Threshold + func LogThreshold() Threshold + func StdoutThreshold() Threshold + func (t Threshold) String() string