Versions in this module Expand all Collapse all v0 v0.1.1 Feb 23, 2021 v0.1.0 Feb 20, 2021 Changes in this version + func NewDailyRotateLogWriter(logRoot, logName string) (io.Writer, error) + type DailyRotateLogWriter struct + func (w *DailyRotateLogWriter) Write(p []byte) (n int, err error) + type Level int + const LogDebug + const LogError + const LogFatal + const LogInfo + const LogOff + const LogUnknown + const LogWarning + type Logger interface + Debug func(v ...interface{}) + Debugf func(format string, v ...interface{}) + Error func(v ...interface{}) + Errorf func(format string, v ...interface{}) + Fatal func(v ...interface{}) + Fatalf func(format string, v ...interface{}) + Info func(v ...interface{}) + Infof func(format string, v ...interface{}) + Level func() Level + Log func(lvl Level, v ...interface{}) + Logf func(lvl Level, format string, v ...interface{}) + SetLevel func(l Level) + SetOuput func(out io.Writer) + Warn func(v ...interface{}) + Warnf func(format string, v ...interface{}) + func New(name string, lvl Level, out ...io.Writer) Logger