Documentation ¶
Index ¶
- func Debug(format string, args ...interface{})
- func Error(format string, args ...interface{})
- func GetLogger() gnet.Logger
- func GetShortFileName(file string) string
- func Info(format string, args ...interface{})
- func LogStack()
- func Warn(format string, args ...interface{})
- type JsonHandlerWithStdOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetShortFileName ¶
Types ¶
type JsonHandlerWithStdOutput ¶
type JsonHandlerWithStdOutput struct { slog.JSONHandler // contains filtered or unexported fields }
func NewJsonHandlerWithStdOutput ¶
func NewJsonHandlerWithStdOutput(w io.Writer, opts *slog.HandlerOptions, useStdOutput bool) *JsonHandlerWithStdOutput
Click to show internal directories.
Click to hide internal directories.