Documentation
¶
Index ¶
- func Debug(v ...any)
- func Debugf(format string, v ...any)
- func Error(v ...any)
- func Errorf(format string, v ...any)
- func Fatal(v ...any)
- func Fatalf(format string, v ...any)
- func Fatalln(v ...any)
- func Flags() int
- func Info(v ...any)
- func Infof(format string, v ...any)
- func Output(callDepth int, s string) error
- func Panic(v ...any)
- func Panicf(format string, v ...any)
- func Panicln(v ...any)
- func Prefix() string
- func Print(v ...any)
- func Printf(format string, v ...any)
- func Println(v ...any)
- func SetFlags(flag int)
- func SetLevel(level Level)
- func SetOutput(w io.Writer)
- func SetPrefix(p string)
- func SetTimeLayout(layout string)
- func SetUTC(enable bool)
- func Warn(v ...any)
- func Warnf(format string, v ...any)
- func Writer() io.Writer
- type Level
- type Logger
- func (l *Logger) Flags() int
- func (l *Logger) Prefix() string
- func (l *Logger) SetFlags(flag int)
- func (l *Logger) SetLevel(level Level)
- func (l *Logger) SetOutput(w io.Writer)
- func (l *Logger) SetPrefix(p string)
- func (l *Logger) SetTimeLayout(layout string)
- func (l *Logger) SetUTC(enable bool)
- func (l *Logger) Writer() io.Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetTimeLayout ¶
func SetTimeLayout(layout string)
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) SetTimeLayout ¶
Click to show internal directories.
Click to hide internal directories.