Versions in this module Expand all Collapse all v1 v1.0.0 Apr 7, 2020 Changes in this version + const LOGLEVEL_DEBUG + const LOGLEVEL_FAIL + const LOGLEVEL_INFO + const LOGLEVEL_SUCC + const LOGLEVEL_WARN + var GlobalStdErrDriver = StdErrDriver + type LogDriver interface + RecordLog func(LogLine) + type LogLine struct + type Logger struct + Level int + LevelNames map[int]string + LogDrivers []LogDriver + Name string + func NewLogger(name string, level int) Logger + func (log Logger) Assert(errexpr error, hints ...interface{}) error + func (log Logger) AssertFatal(errexpr error, hints ...interface{}) error + func (log Logger) BaseLogln(level int, contents ...interface{}) + func (log Logger) Debug(contents ...interface{}) + func (log Logger) Fail(contents ...interface{}) + func (log Logger) Info(contents ...interface{}) + func (log Logger) SetDrivers(drivers []LogDriver) + func (log Logger) Succ(contents ...interface{}) + func (log Logger) Warn(contents ...interface{}) + type StdErrDriver struct + func (errd StdErrDriver) RecordLog(ln LogLine)