fslog

package module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: GPL-3.0 Imports: 10 Imported by: 11

README

fslog

方是日志包

Documentation

Index

Constants

View Source
const (
	LoggerLevelInfo  = "info"
	LoggerLevelError = "error"
	LoggerLevelDebug = "debug"
	LoggerLevelWarn  = "Warn"
)

Variables

View Source
var LoggerLever = LoggerLevelDebug

Functions

func Debug

func Debug(message string)

func Error

func Error(err error)

func GinLogger added in v0.4.0

func GinLogger() gin.HandlerFunc

func GinRecovery added in v0.4.0

func GinRecovery() gin.HandlerFunc

func Info

func Info(message string)

func Warn added in v0.2.2

func Warn(message string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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