Documentation ¶
Index ¶
- func Debug(a ...any) (int, error)
- func Debugf(format string, a ...any) (int, error)
- func Debugln(a ...any) (int, error)
- func IsDebugLevel() bool
- func IsWarningLevel() bool
- func SetLevel(level Level)
- func SetWriter(w io.Writer)
- func Warning(a ...any) (int, error)
- func Warningf(format string, a ...any) (int, error)
- func Warningln(a ...any) (int, error)
- func Writer() io.Writer
- type Level
- type Logger
- func (l Logger) Debug(a ...any) (int, error)
- func (l Logger) Debugf(format string, a ...any) (int, error)
- func (l Logger) Debugln(a ...any) (int, error)
- func (l *Logger) IsDebugLevel() bool
- func (l *Logger) IsWarningLevel() bool
- func (l *Logger) Level() Level
- func (l *Logger) SetLevel(level Level)
- func (l *Logger) SetWriter(w io.Writer)
- func (l Logger) Warning(a ...any) (int, error)
- func (l Logger) Warningf(format string, a ...any) (int, error)
- func (l Logger) Warningln(a ...any) (int, error)
- func (l *Logger) Writer() io.Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDebugLevel ¶
func IsDebugLevel() bool
func IsWarningLevel ¶
func IsWarningLevel() bool
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) IsDebugLevel ¶
func (*Logger) IsWarningLevel ¶
Click to show internal directories.
Click to hide internal directories.