Versions in this module Expand all Collapse all v0 v0.1.0 Oct 10, 2023 Changes in this version + const LogColorVarName + const LogFormatVarName + const LogLevelVarName + const LogOutputVarName + const LogTimeFormatVarName + func Done() error + func ExpandPath(str string, now time.Time) string + func ExpandTimeFormat(str string) string + func Init() + func Rotate() error + func Strftime(pattern string, t time.Time) string + func Writer() io.Writer + type RotatingLogWriter struct + func NewRotatingLogWriter(pattern string, isPattern bool) (*RotatingLogWriter, error) + func (w *RotatingLogWriter) Close() error + func (w *RotatingLogWriter) Rotate() error + func (w *RotatingLogWriter) WithFile(fn func(name string, file *os.File) error) error + func (w *RotatingLogWriter) Write(p []byte) (int, error)