Documentation ¶
Index ¶
- Constants
- type Logger
- func (l *Logger) AsPlainText(exec func())
- func (l *Logger) Close() error
- func (l *Logger) Debugf(msg string, args ...any)
- func (l *Logger) Debugx(msg string, kv ...any)
- func (l *Logger) Error(err error, msg string)
- func (l *Logger) Errorf(msg string, args ...any)
- func (l *Logger) Errorx(msg string, kv ...any)
- func (l *Logger) FatalErr(err error)
- func (l *Logger) Fatalf(msg string, args ...any)
- func (l *Logger) Fatalx(msg string, kv ...any)
- func (l *Logger) Infof(msg string, args ...any)
- func (l *Logger) Infox(msg string, kv ...any)
- func (l *Logger) PlainTextInfo(msg string)
- func (l *Logger) PlainTextSuccess(msg string)
- func (l *Logger) Println(data string)
- func (l *Logger) SetLevel(level int)
- func (l *Logger) Warnf(msg string, args ...any)
- func (l *Logger) Warnx(msg string, kv ...any)
- type StdErrWriter
- type StdInReader
- type StdOutWriter
Constants ¶
View Source
const (
MaxArchiveSize = 50
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) AsPlainText ¶
func (l *Logger) AsPlainText(exec func())
func (*Logger) PlainTextInfo ¶
func (*Logger) PlainTextSuccess ¶
type StdErrWriter ¶
type StdInReader ¶
type StdInReader struct{}
Click to show internal directories.
Click to hide internal directories.