errorlogger

package
v1.3.161 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const GroupError = "error"

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorLogger

type ErrorLogger interface {
	LogErrorWithRequest(c *gin.Context, errData interface{})
	LogError(dataFromRecover interface{})
	// contains filtered or unexported methods
}

func NewRedisErrorLogger

func NewRedisErrorLogger(appService *app.App, ormService *beeorm.Engine, slackService slack.Slack, sentryService sentry.ISentry) ErrorLogger

type ErrorMessage

type ErrorMessage struct {
	File    string
	Line    int
	AppName string
	Request []byte
	Message string
	Stack   []byte
}

type RedisErrorLogger

type RedisErrorLogger struct {
	// contains filtered or unexported fields
}

func (*RedisErrorLogger) LogError

func (e *RedisErrorLogger) LogError(errData interface{})

func (*RedisErrorLogger) LogErrorWithRequest

func (e *RedisErrorLogger) LogErrorWithRequest(c *gin.Context, errData interface{})

Jump to

Keyboard shortcuts

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