Documentation ¶
Index ¶
- func Err(err error) qblog.ErrMsg
- func Fmt(format string, a ...interface{}) qblog.FmtMsg
- func NewConfig(log *Logger) c4hgol.Configurer
- type Formatter
- type Level
- type Logger
- func (l *Logger) Args(level Level, tmpl string, args ...interface{})
- func (l *Logger) Debuga(tmpl string, args ...interface{})
- func (l *Logger) Debuge(err error)
- func (l *Logger) Debugf(format string, a ...interface{})
- func (l *Logger) Debugm(tmpl string, args sllm.ArgMap)
- func (l *Logger) Debugs(msg string)
- func (l *Logger) Err(level Level, err error) error
- func (l *Logger) Errora(tmpl string, args ...interface{})
- func (l *Logger) Errore(err error)
- func (l *Logger) Errorf(format string, a ...interface{})
- func (l *Logger) Errorm(tmpl string, args sllm.ArgMap)
- func (l *Logger) Errors(msg string)
- func (l *Logger) Fatala(tmpl string, args ...interface{})
- func (l *Logger) Fatale(err error)
- func (l *Logger) Fatalf(format string, a ...interface{})
- func (l *Logger) Fatalm(tmpl string, args sllm.ArgMap)
- func (l *Logger) Fatals(msg string)
- func (l *Logger) Fmt(level Level, format string, a ...interface{})
- func (l *Logger) Get() *errLogger
- func (l *Logger) Infoa(tmpl string, args ...interface{})
- func (l *Logger) Infoe(err error)
- func (l *Logger) Infof(format string, a ...interface{})
- func (l *Logger) Infom(tmpl string, args sllm.ArgMap)
- func (l *Logger) Infos(msg string)
- func (l *Logger) Map(level Level, tmpl string, args sllm.ArgMap)
- func (l *Logger) Panica(tmpl string, args ...interface{})
- func (l *Logger) Panice(err error)
- func (l *Logger) Panicf(format string, a ...interface{})
- func (l *Logger) Panicm(tmpl string, args sllm.ArgMap)
- func (l *Logger) Panics(msg string)
- func (l *Logger) Str(level Level, msg string)
- func (l *Logger) Tracea(tmpl string, args ...interface{})
- func (l *Logger) Tracee(err error)
- func (l *Logger) Tracef(format string, a ...interface{})
- func (l *Logger) Tracem(tmpl string, args sllm.ArgMap)
- func (l *Logger) Traces(msg string)
- func (l *Logger) Warna(tmpl string, args ...interface{})
- func (l *Logger) Warne(err error)
- func (l *Logger) Warnf(format string, a ...interface{})
- func (l *Logger) Warnm(tmpl string, args sllm.ArgMap)
- func (l *Logger) Warns(msg string)
- type Str
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfig ¶ added in v0.10.0
func NewConfig(log *Logger) c4hgol.Configurer
Types ¶
type Level ¶
const ( LmostIrrelevant Level = qblog.LmostIrrelevant Lnormal Level = qblog.Lnormal LmostImportant Level = qblog.LmostImportant Loff Level = qblog.Loff Lpanic Level = qblog.Lpanic Lfatal Level = qblog.Lfatal Ltrace Level = qblog.Ltrace Ldebug Level = qblog.Ldebug Linfo Level = qblog.Linfo Lwarn Level = qblog.Lwarn Lerror Level = qblog.Lerror )
type Logger ¶
type Logger struct { qblog.Logger SllmDeco func(sllm.ParamWriter) sllm.ParamWriter }
Click to show internal directories.
Click to hide internal directories.