Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BufPool = buffer.NewPool(256)
)
View Source
var (
Console = &oConsole{w: os.Stdout}
)
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { ID() string Name() string New(id, name string) Logger Log(err error, level Level, msg string, kv ...any) Trace(msg string, kv ...any) Debug(msg string, kv ...any) Info(msg string, kv ...any) Notice(msg string, kv ...any) Warning(err error, msg string, kv ...any) Error(err error, msg string, kv ...any) NewStdLogger(level Level, prefix string, flag int) *log.Logger }
Click to show internal directories.
Click to hide internal directories.