LoggerConfig Type — gin Architecture
Architecture documentation for the LoggerConfig type/interface in logger.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 130824c6_7c6c_d6a8_a4a1_d2a777b02991["LoggerConfig"] ed464f46_6294_af3d_9831_5646cd0d38c7["logger.go"] 130824c6_7c6c_d6a8_a4a1_d2a777b02991 -->|defined in| ed464f46_6294_af3d_9831_5646cd0d38c7 style 130824c6_7c6c_d6a8_a4a1_d2a777b02991 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
logger.go lines 39–54
type LoggerConfig struct {
// Optional. Default value is gin.defaultLogFormatter
Formatter LogFormatter
// Output is a writer where logs are written.
// Optional. Default value is gin.DefaultWriter.
Output io.Writer
// SkipPaths is a URL path array which logs are not written.
// Optional.
SkipPaths []string
// Skip is a Skipper that indicates which logs should not be written.
// Optional.
Skip Skipper
}
Defined In
Source
Frequently Asked Questions
What is the LoggerConfig type?
LoggerConfig is a type/interface in the gin codebase, defined in logger.go.
Where is LoggerConfig defined?
LoggerConfig is defined in logger.go at line 39.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free