util

package
v0.0.0-...-f9d3eeb Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Verbose = log.New(os.Stderr, color.New(color.FgYellow).Sprint("Verbose")+" ", log.Lmsgprefix|log.Lshortfile)
	Info    = log.New(os.Stderr, color.New(color.FgBlue).Sprint("Info")+" ", log.Lmsgprefix)
	Success = log.New(os.Stderr, color.New(color.FgGreen).Sprint("Success")+" ", log.Lmsgprefix)
	Panic   = log.New(os.Stderr, color.New(color.BgHiRed|color.Bold).Sprint("Panic")+" ", log.Lmsgprefix|log.Llongfile)
	Error   = log.New(os.Stderr, color.New(color.FgRed).Sprint("Error")+" ", log.Lmsgprefix|log.Llongfile)
)

Functions

func LogAPIConn

func LogAPIConn(c *fiber.Ctx) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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