Documentation
¶
Index ¶
- func Alert(message string, err error)
- func AlertAndSaveInErrorLog(ctx context.Context, tx *gorm.DB, opts AlertContext, message string, err error)
- func RecoverAndAlertAndSaveInErrorLog(ctx context.Context, tx *gorm.DB, opts AlertContext, message string, err error)
- func RecoverPanicAndSaveInErrorLog(ctx context.Context, tx *gorm.DB, opts AlertContext, msg string)
- func SetLogger(ls AlertLogService)
- type AlertContext
- type AlertLogService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlertAndSaveInErrorLog ¶ added in v1.15.0
func RecoverAndAlertAndSaveInErrorLog ¶ added in v1.15.0
func RecoverPanicAndSaveInErrorLog ¶ added in v1.15.0
func SetLogger ¶ added in v1.15.0
func SetLogger(ls AlertLogService)
Types ¶
type AlertContext ¶ added in v1.15.0
Click to show internal directories.
Click to hide internal directories.