Documentation
¶
Index ¶
- func CtxDebugf(ctx context.Context, format string, v ...interface{})
- func CtxErrorf(ctx context.Context, format string, v ...interface{})
- func CtxFatalf(ctx context.Context, format string, v ...interface{})
- func CtxInfof(ctx context.Context, format string, v ...interface{})
- func CtxWarnf(ctx context.Context, format string, v ...interface{})
- func SetLogLevel(level LogLevel)
- func SetLogger(l Logger)
- type LevelLogger
- type LogLevel
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶
func SetLogLevel(level LogLevel)
Types ¶
type LevelLogger ¶
type Logger ¶
type Logger interface {
CtxDebugf(ctx context.Context, format string, v ...interface{})
CtxInfof(ctx context.Context, format string, v ...interface{})
CtxWarnf(ctx context.Context, format string, v ...interface{})
CtxErrorf(ctx context.Context, format string, v ...interface{})
CtxFatalf(ctx context.Context, format string, v ...interface{})
}
Logger Interface for logging
Click to show internal directories.
Click to hide internal directories.