Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var QueueClient *asynq.Client
Functions ¶
Types ¶
type CustomLogger ¶
type CustomLogger struct {
Level CustomLoggerLevel
}
func (CustomLogger) Debug ¶
func (l CustomLogger) Debug(args ...interface{})
Debug logs a message at Debug level.
func (CustomLogger) Error ¶
func (l CustomLogger) Error(args ...interface{})
Error logs a message at Error level.
func (CustomLogger) Fatal ¶
func (l CustomLogger) Fatal(args ...interface{})
Fatal logs a message at Fatal level and process will exit with status set to 1.
func (CustomLogger) Info ¶
func (l CustomLogger) Info(args ...interface{})
Info logs a message at Info level.
func (CustomLogger) Warn ¶
func (l CustomLogger) Warn(args ...interface{})
Warn logs a message at Warning level.
type CustomLoggerLevel ¶
type CustomLoggerLevel = int32
const ( Debug CustomLoggerLevel = iota Info Warn Error )
Click to show internal directories.
Click to hide internal directories.