Versions in this module Expand all Collapse all v1 v1.3.0 Oct 15, 2021 Changes in this version + const LUTC + const Ldate + const Llongfile + const Lmicroseconds + const Lmsgprefix + const Lshortfile + const LstdFlags + const Ltime + func Debug(v ...interface{}) + func Debugf(format string, v ...interface{}) + func Debugln(v ...interface{}) + func DisableAllLevels() + func DisableLevel(level string) + func EnableFormattedPrefix() + func EnableLevel(level string) + func EnableLevelsByNumber(num int) + 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 GetLevel(level string) bool + func Info(v ...interface{}) + func Infof(format string, v ...interface{}) + func Infoln(v ...interface{}) + func Level(level string, v ...interface{}) + func Levelf(level, format string, v ...interface{}) + func Levelln(level string, v ...interface{}) + func Output(level string, 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 SetCallDepth(d int) + func SetFlags(flag int) + 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 Logger struct + func Default() *Logger + func New(out io.Writer, prefix string, flag int) *Logger + func (l *Logger) Debug(v ...interface{}) + func (l *Logger) Debugf(format string, v ...interface{}) + func (l *Logger) Debugln(v ...interface{}) + func (l *Logger) DisableAllLevels() + func (l *Logger) DisableLevel(level string) + func (l *Logger) EnableFormattedPrefix() + func (l *Logger) EnableLevel(level string) + func (l *Logger) EnableLevelsByNumber(num int) + func (l *Logger) Error(v ...interface{}) + func (l *Logger) Errorf(format string, v ...interface{}) + func (l *Logger) Errorln(v ...interface{}) + func (l *Logger) Fatal(v ...interface{}) + func (l *Logger) Fatalf(format string, v ...interface{}) + func (l *Logger) Fatalln(v ...interface{}) + func (l *Logger) Flags() int + func (l *Logger) GetLevel(level string) bool + func (l *Logger) Info(v ...interface{}) + func (l *Logger) Infof(format string, v ...interface{}) + func (l *Logger) Infoln(v ...interface{}) + func (l *Logger) Level(level string, v ...interface{}) + func (l *Logger) Levelf(level, format string, v ...interface{}) + func (l *Logger) Levelln(level string, v ...interface{}) + func (l *Logger) Output(level string, s string) error + func (l *Logger) Panic(v ...interface{}) + func (l *Logger) Panicf(format string, v ...interface{}) + func (l *Logger) Panicln(v ...interface{}) + func (l *Logger) Prefix() string + func (l *Logger) Print(v ...interface{}) + func (l *Logger) Printf(format string, v ...interface{}) + func (l *Logger) Println(v ...interface{}) + func (l *Logger) SetCallDepth(d int) + func (l *Logger) SetFlags(flag int) + func (l *Logger) SetOutput(w io.Writer) + func (l *Logger) SetPrefix(prefix string) + 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{}) + func (l *Logger) Writer() io.Writer v1.2.0 Dec 7, 2018