auditlog

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetailOption added in v1.0.0

type DetailOption func(map[string]interface{})

func Detail added in v1.0.0

func Detail(key string, value interface{}) DetailOption

type Logger

type Logger interface {
	Create(echo.Context, models.AuditLogType, *models.User, error, ...DetailOption) error
	CreateWithConnection(*pop.Connection, echo.Context, models.AuditLogType, *models.User, error, ...DetailOption) error
}

func NewLogger

func NewLogger(persister persistence.Persister, cfg config.AuditLog) Logger

Jump to

Keyboard shortcuts

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