Documentation ¶
Index ¶
- func CtxDebug(ctx context.Context, format string, v ...any)
- func CtxError(ctx context.Context, format string, v ...any)
- func CtxInfo(ctx context.Context, format string, v ...any)
- func Error(format string, v ...any)
- func Info(format string, v ...any)
- type HlogLogger
- func (l HlogLogger) CtxDebugf(ctx context.Context, format string, v ...interface{})
- func (l HlogLogger) CtxErrorf(ctx context.Context, format string, v ...interface{})
- func (l HlogLogger) CtxFatalf(ctx context.Context, format string, v ...interface{})
- func (l HlogLogger) CtxInfof(ctx context.Context, format string, v ...interface{})
- func (l HlogLogger) CtxNoticef(ctx context.Context, format string, v ...interface{})
- func (l HlogLogger) CtxTracef(ctx context.Context, format string, v ...interface{})
- func (l HlogLogger) CtxWarnf(ctx context.Context, format string, v ...interface{})
- func (l HlogLogger) Debug(v ...interface{})
- func (l HlogLogger) Debugf(format string, v ...interface{})
- func (l HlogLogger) Error(v ...interface{})
- func (l HlogLogger) Errorf(format string, v ...interface{})
- func (l HlogLogger) Fatal(v ...interface{})
- func (l HlogLogger) Fatalf(format string, v ...interface{})
- func (l HlogLogger) Info(v ...interface{})
- func (l HlogLogger) Infof(format string, v ...interface{})
- func (l HlogLogger) Notice(v ...interface{})
- func (l HlogLogger) Noticef(format string, v ...interface{})
- func (l *HlogLogger) SetLevel(level hlog.Level)
- func (l HlogLogger) SetOutput(writer io.Writer)
- func (l HlogLogger) Trace(v ...interface{})
- func (l HlogLogger) Tracef(format string, v ...interface{})
- func (l HlogLogger) Warn(v ...interface{})
- func (l HlogLogger) Warnf(format string, v ...interface{})
- type KlogLogger
- func (l KlogLogger) CtxDebugf(ctx context.Context, format string, v ...interface{})
- func (l KlogLogger) CtxErrorf(ctx context.Context, format string, v ...interface{})
- func (l KlogLogger) CtxFatalf(ctx context.Context, format string, v ...interface{})
- func (l KlogLogger) CtxInfof(ctx context.Context, format string, v ...interface{})
- func (l KlogLogger) CtxNoticef(ctx context.Context, format string, v ...interface{})
- func (l KlogLogger) CtxTracef(ctx context.Context, format string, v ...interface{})
- func (l KlogLogger) CtxWarnf(ctx context.Context, format string, v ...interface{})
- func (l KlogLogger) Debug(v ...interface{})
- func (l KlogLogger) Debugf(format string, v ...interface{})
- func (l KlogLogger) Error(v ...interface{})
- func (l KlogLogger) Errorf(format string, v ...interface{})
- func (l KlogLogger) Fatal(v ...interface{})
- func (l KlogLogger) Fatalf(format string, v ...interface{})
- func (l KlogLogger) Info(v ...interface{})
- func (l KlogLogger) Infof(format string, v ...interface{})
- func (l KlogLogger) Notice(v ...interface{})
- func (l KlogLogger) Noticef(format string, v ...interface{})
- func (l *KlogLogger) SetLevel(level klog.Level)
- func (l KlogLogger) SetOutput(writer io.Writer)
- func (l KlogLogger) Trace(v ...interface{})
- func (l KlogLogger) Tracef(format string, v ...interface{})
- func (l KlogLogger) Warn(v ...interface{})
- func (l KlogLogger) Warnf(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HlogLogger ¶
type HlogLogger struct {
// contains filtered or unexported fields
}
func NewHlogLogger ¶
func NewHlogLogger() *HlogLogger
func (HlogLogger) CtxNoticef ¶
func (*HlogLogger) SetLevel ¶
func (l *HlogLogger) SetLevel(level hlog.Level)
type KlogLogger ¶
type KlogLogger struct {
// contains filtered or unexported fields
}
func NewKlogLogger ¶
func NewKlogLogger() *KlogLogger
func (KlogLogger) CtxNoticef ¶
func (*KlogLogger) SetLevel ¶
func (l *KlogLogger) SetLevel(level klog.Level)
Click to show internal directories.
Click to hide internal directories.