logger

package
v0.0.0-...-7514732 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogError

func LogError(c *gin.Context, err error)

func LogSuccess

func LogSuccess(c *gin.Context, message string, data interface{})

func SetLoggerInstance

func SetLoggerInstance(c *gin.Context, log *Logger)

Types

type Logger

type Logger struct {
	*logger.Logger
}

func NewLogger

func NewLogger() *Logger

Jump to

Keyboard shortcuts

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