logger() — fiber Function Reference
Architecture documentation for the logger() function in hooks.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD f18eedff_9a13_ed28_a791_d4e89c1aca01["logger()"] 14cfc1be_1c8f_085d_1a4e_f0de9527aaba["hooks.go"] f18eedff_9a13_ed28_a791_d4e89c1aca01 -->|defined in| 14cfc1be_1c8f_085d_1a4e_f0de9527aaba style f18eedff_9a13_ed28_a791_d4e89c1aca01 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
client/hooks.go lines 345–354
func logger(c *Client, resp *Response, req *Request) error {
if !c.debug {
return nil
}
c.logger.Debugf("%s\n", req.RawRequest.String())
c.logger.Debugf("%s\n", resp.RawResponse.String())
return nil
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does logger() do?
logger() is a function in the fiber codebase, defined in client/hooks.go.
Where is logger() defined?
logger() is defined in client/hooks.go at line 345.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free