Documentation ¶
Index ¶
- Variables
- func DefaultAsyncLogger() interface{ ... }
- func DefaultAsynqAsyncLogger() asynq.Logger
- func DefaultAsynqCronLogger() asynq.Logger
- func DefaultCronLogger() interface{ ... }
- func DefaultHttpLogger() resty.Logger
- func DefaultMetricsLogger() metrics.Logger
- func DefaultMongoLogger() (logger *mongoLogger)
- func DefaultMySQLLogger() logger.Interface
- func DefaultRoutineLogger() ants.Logger
- func NewLogger() watermill.LoggerAdapter
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AsyncLoggerType FIXME: should not be deleted to avoid compiler optimized AsyncLoggerType = reflect.TypeOf(asyncLogger{}) )
View Source
var ( // CronLoggerType FIXME: should not be deleted to avoid compiler optimized CronLoggerType = reflect.TypeOf(cronLogger{}) )
View Source
var ( // GormLoggerType FIXME: should not be deleted to avoid compiler optimized GormLoggerType = reflect.TypeOf(gormLogger{}) )
View Source
var (
HttpLoggerType = reflect.TypeOf(httpLogger{})
)
View Source
var ( // MQLogger FIXME: should not be deleted to avoid compiler optimized MQLogger = reflect.TypeOf(mqLogger{}) )
View Source
var ( // MetricsLoggerType FIXME: should not be deleted to avoid compiler optimized MetricsLoggerType = reflect.TypeOf(metricsLogger{}) )
View Source
var ( // MongoLoggerType FIXME: should not be deleted to avoid compiler optimized MongoLoggerType = reflect.TypeOf(mongoLogger{}) )
View Source
var ( // RedisLoggerType FIXME: should not be deleted to avoid compiler optimized RedisLoggerType = reflect.TypeOf(redisLogger{}) )
View Source
var ( // RoutineLoggerType FIXME: should not be deleted to avoid compiler optimized RoutineLoggerType = reflect.TypeOf(routineLogger{}) )
Functions ¶
func DefaultAsyncLogger ¶
func DefaultAsynqAsyncLogger ¶
func DefaultAsynqCronLogger ¶
func DefaultCronLogger ¶
func DefaultHttpLogger ¶
func DefaultHttpLogger() resty.Logger
func DefaultMetricsLogger ¶
func DefaultMongoLogger ¶
func DefaultMongoLogger() (logger *mongoLogger)
func DefaultMySQLLogger ¶
func DefaultRoutineLogger ¶
func DefaultRoutineLogger() ants.Logger
func NewLogger ¶
func NewLogger() watermill.LoggerAdapter
NewLogger returns new watermill.LoggerAdapter using passed *zap.Logger as backend.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.