Documentation ¶
Index ¶
- func HandlePanic(taskName string)
- func LogDebug(taskName string, msg string, fields ...logger.Field)
- func LogDebugStruct(taskName string, msg string, fields ...logger.Field)
- func LogError(taskName string, msg string, fields ...logger.Field)
- func LogErrorIgnoreCancel(ctx context.Context, taskName string, msg string, fields ...logger.Field)
- func LogErrorStruct(taskName string, msg string, fields ...logger.Field)
- func LogErrorStructIgnoreCancel(ctx context.Context, taskName string, msg string, fields ...logger.Field)
- func LogInfo(taskName string, msg string, fields ...logger.Field)
- func LogInfoIgnoreCancel(ctx context.Context, taskName string, msg string, fields ...logger.Field)
- func LogInfoStruct(taskName string, msg string, fields ...logger.Field)
- func LogTrace(taskName string, msg string, fields ...logger.Field)
- func LogTraceStruct(taskName string, msg string, fields ...logger.Field)
- func LogWarn(taskName string, msg string, fields ...logger.Field)
- func LogWarnIgnoreCancel(ctx context.Context, taskName string, msg string, fields ...logger.Field)
- func LogWarnStruct(taskName string, msg string, fields ...logger.Field)
- func LogWarnStructIgnoreCancel(ctx context.Context, taskName string, msg string, fields ...logger.Field)
- type BaseTask
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogDebugStruct ¶
LogDebugStruct deprecated
func LogErrorIgnoreCancel ¶
LogErrorIgnoreCancel deprecated
func LogErrorStruct ¶
LogErrorStruct deprecated
func LogErrorStructIgnoreCancel ¶
func LogErrorStructIgnoreCancel(ctx context.Context, taskName string, msg string, fields ...logger.Field)
LogErrorStructIgnoreCancel deprecated
func LogInfoIgnoreCancel ¶
LogInfoIgnoreCancel deprecated
func LogInfoStruct ¶
LogInfoStruct deprecated
func LogTraceStruct ¶
LogTraceStruct deprecated
func LogWarnIgnoreCancel ¶
LogWarnIgnoreCancel deprecated
func LogWarnStruct ¶
LogWarnStruct deprecated
Types ¶
Click to show internal directories.
Click to hide internal directories.