hieda_ginutil

package module
v0.0.0-...-c2545e8 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultLevelMapFunc

func GetDefaultLevelMapFunc() func(int) string

func GetSimpleLevelMapFunc

func GetSimpleLevelMapFunc(Http1xx, Http2xx, Http3xx, Http4xx, Http5xx, Default string) func(int) string

func GinLoggerWithComplexLogger

func GinLoggerWithComplexLogger(config GinLoggerConfig) gin.HandlerFunc

func GinLoggerWithStringLogger

func GinLoggerWithStringLogger(config GinLoggerConfig) gin.HandlerFunc

Types

type GinLoggerConfig

type GinLoggerConfig struct {
	Logger       *hiedalog.HiedaLogger
	ModuleName   string
	LevelMapFunc func(int) string
}

Jump to

Keyboard shortcuts

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