package
0.4.3
Repository: https://github.com/donetkit/contrib-gin.git
Documentation: pkg.go.dev

# Functions

ErrorLoggerT returns a handler func for a given error type.
New instances a Logger middleware that will write the logs to gin.DefaultWriter.
NewErrorLogger returns a handler func for any error type.
No description provided by the author
WithConsoleColor set consoleColor function.
WithEndpointLabelMappingFn set endpointLabelMappingFn function.
WithExcludeRegexEndpoint set excludeRegexEndpoint function regexp.
WithExcludeRegexMethod set excludeRegexMethod function regexp.
WithExcludeRegexStatus set excludeRegexStatus function regexp.
WithFormatter set formatter function.
WithLogger set logger function.
WithWriterErrorFn set fn WriterErrorFn.
WithWriterLogFn set fn WriterLogFn.

# Structs

LogFormatterParams is the structure any formatter will be handed when time to log comes.

# Type aliases

LogFormatter gives the signature of the formatter function passed to LoggerWithFormatter.
Option for queue system.
No description provided by the author
No description provided by the author
No description provided by the author