tasklog

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2026 License: MIT Imports: 1 Imported by: 0

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{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL