Documentation ¶
Index ¶
- func Debug(s Struct, a ...any)
- func Debugf(s Struct, format string, a ...any)
- func Error(s Struct, a ...any)
- func Errorf(s Struct, format string, a ...any)
- func Info(s Struct, a ...any)
- func Infof(s Struct, format string, a ...any)
- func Msg(a ...any) string
- func Msgf(format string, a ...any) string
- func NewEnhanceHandler(h slog.Handler, calldepth int) slog.Handler
- func Warn(s Struct, a ...any)
- func Warnf(s Struct, format string, a ...any)
- type EnhanceHandler
- type EnhanceLogger
- func (el *EnhanceLogger) Debug(s Struct, a ...any)
- func (el *EnhanceLogger) Debugf(s Struct, format string, a ...any)
- func (el *EnhanceLogger) Error(s Struct, a ...any)
- func (el *EnhanceLogger) Errorf(s Struct, format string, a ...any)
- func (el *EnhanceLogger) Info(s Struct, a ...any)
- func (el *EnhanceLogger) Infof(s Struct, format string, a ...any)
- func (el *EnhanceLogger) Warn(s Struct, a ...any)
- func (el *EnhanceLogger) Warnf(s Struct, format string, a ...any)
- type Struct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EnhanceHandler ¶
type EnhanceLogger ¶
type EnhanceLogger struct {
// contains filtered or unexported fields
}
func (*EnhanceLogger) Debug ¶
func (el *EnhanceLogger) Debug(s Struct, a ...any)
func (*EnhanceLogger) Error ¶
func (el *EnhanceLogger) Error(s Struct, a ...any)
func (*EnhanceLogger) Info ¶
func (el *EnhanceLogger) Info(s Struct, a ...any)
func (*EnhanceLogger) Warn ¶
func (el *EnhanceLogger) Warn(s Struct, a ...any)
Click to show internal directories.
Click to hide internal directories.