Versions in this module Expand all Collapse all v0 deprecated v0.1.1 Dec 20, 2023 Changes in this version + const LUTC + const Ldate + const Llongfile + const Lmicroseconds + const Lshortfile + const LstdFlags + const Ltime + func Debug(v ...interface{}) + func Debugf(format string, v ...interface{}) + func Debugln(v ...interface{}) + func Error(v ...interface{}) + func Errorf(format string, v ...interface{}) + func Errorln(v ...interface{}) + func Fatal(v ...interface{}) + func Fatalf(format string, v ...interface{}) + func Fatalln(v ...interface{}) + func Flags() int + func FormatLevel(lvl Level) string + func Info(v ...interface{}) + func Infof(format string, v ...interface{}) + func Infoln(v ...interface{}) + func Output(calldepth int, s string) error + func Panic(v ...interface{}) + func Panicf(format string, v ...interface{}) + func Panicln(v ...interface{}) + func Prefix() string + func Print(v ...interface{}) + func Printf(format string, v ...interface{}) + func Println(v ...interface{}) + func SetFlags(flag int) + func SetLevel(l Level) + func SetOutput(w io.Writer) + func SetPrefix(prefix string) + func Trace(v ...interface{}) + func Tracef(format string, v ...interface{}) + func Traceln(v ...interface{}) + func Warn(v ...interface{}) + func Warnf(format string, v ...interface{}) + func Warnln(v ...interface{}) + func Writer() io.Writer + type Level int + const LevelDebug + const LevelError + const LevelInfo + const LevelTrace + const LevelUnknown + const LevelWarn + func CurrentLevel() Level + func ParseLevel(str string) (Level, error) + func (l Level) String() string + type Logger struct + Level Level + func New(out io.Writer, prefix string, flag int, level Level) *Logger + func (l *Logger) Debug(v ...interface{}) + func (l *Logger) Debugf(format string, v ...interface{}) + func (l *Logger) Debugln(v ...interface{}) + func (l *Logger) Error(v ...interface{}) + func (l *Logger) Errorf(format string, v ...interface{}) + func (l *Logger) Errorln(v ...interface{}) + func (l *Logger) Info(v ...interface{}) + func (l *Logger) Infof(format string, v ...interface{}) + func (l *Logger) Infoln(v ...interface{}) + func (l *Logger) Trace(v ...interface{}) + func (l *Logger) Tracef(format string, v ...interface{}) + func (l *Logger) Traceln(v ...interface{}) + func (l *Logger) Warn(v ...interface{}) + func (l *Logger) Warnf(format string, v ...interface{}) + func (l *Logger) Warnln(v ...interface{}) + type ParseError string + func (e ParseError) Error() string