Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskLoggerAdapter ¶
type TaskLoggerAdapter struct {
Ctx fiberhouse.IContext
}
TaskLoggerAdapter 任务日志器适配器,实现 asynq.Logger 接口,用于将任务日志接入全局日志系统
func NewTaskLoggerAdapter ¶
func NewTaskLoggerAdapter(ctx fiberhouse.IContext) *TaskLoggerAdapter
func (*TaskLoggerAdapter) Debug ¶
func (tLog *TaskLoggerAdapter) Debug(args ...interface{})
func (*TaskLoggerAdapter) Error ¶
func (tLog *TaskLoggerAdapter) Error(args ...interface{})
func (*TaskLoggerAdapter) Fatal ¶
func (tLog *TaskLoggerAdapter) Fatal(args ...interface{})
func (*TaskLoggerAdapter) Info ¶
func (tLog *TaskLoggerAdapter) Info(args ...interface{})
func (*TaskLoggerAdapter) Warn ¶
func (tLog *TaskLoggerAdapter) Warn(args ...interface{})
Click to show internal directories.
Click to hide internal directories.