apilogger

package
v1.3.169 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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAPILogger added in v0.8.78

type IAPILogger interface {
	LogStart(ormService *beeorm.Engine, logType string, request interface{})
	LogError(ormService *beeorm.Engine, message string, response interface{})
	LogSuccess(ormService *beeorm.Engine, response interface{})
}

func NewMysqlAPILogger added in v0.8.78

func NewMysqlAPILogger(entity ILogEntity) IAPILogger

type ILogEntity added in v0.8.78

type ILogEntity interface {
	beeorm.Entity
	SetID(value uint64)
	SetType(value string)
	SetStatus(value string)
	SetRequest(value interface{})
	SetResponse(value interface{})
	SetMessage(value string)
	SetCreatedAt(value time.Time)
}

Jump to

Keyboard shortcuts

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