Versions in this module Expand all Collapse all v1 v1.1.0 Oct 28, 2018 Changes in this version + func SetLogListeners(l ...LogListener) + func SetStdoutOutput(handle io.Writer) + type Counter struct + func (c *Counter) Count() uint64 + func (c *Counter) Reset() + func (c *Counter) Write(p []byte) (n int, err error) + type LogListener func(t Threshold) io.Writer + func LogCounter(counter *Counter, t1 Threshold) LogListener v1.0.0 Sep 7, 2018 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 LogCountForLevel(l Threshold) uint64 + func LogCountForLevelsGreaterThanorEqualTo(threshold Threshold) uint64 + func ResetLogCounters() + func SetFlags(flags int) + func SetLogOutput(handle io.Writer) + func SetLogThreshold(threshold Threshold) + func SetPrefix(prefix string) + func SetStdoutThreshold(threshold Threshold) + type Feedback struct + func (fb *Feedback) Print(v ...interface{}) + func (fb *Feedback) Printf(format string, v ...interface{}) + func (fb *Feedback) Println(v ...interface{}) + 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) GetLogThreshold() Threshold + func (n *Notepad) GetStdoutThreshold() Threshold + func (n *Notepad) LogCountForLevel(l Threshold) uint64 + func (n *Notepad) LogCountForLevelsGreaterThanorEqualTo(threshold Threshold) uint64 + func (n *Notepad) ResetLogCounters() + 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) 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