Documentation ¶
Index ¶
- func GetDefaultLevelMapFunc() func(int) string
- func GetSimpleLevelMapFunc(Http1xx, Http2xx, Http3xx, Http4xx, Http5xx, Default string) func(int) string
- func GinLoggerWithComplexLogger(config GinLoggerConfig) gin.HandlerFunc
- func GinLoggerWithStringLogger(config GinLoggerConfig) gin.HandlerFunc
- type GinLoggerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultLevelMapFunc ¶
func GetSimpleLevelMapFunc ¶
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 }
Click to show internal directories.
Click to hide internal directories.