Home / Type/ CommonLogger Type — fiber Architecture

CommonLogger Type — fiber Architecture

Architecture documentation for the CommonLogger type/interface in client.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  eca336a5_9b56_c2ca_7ad8_aa3935d13c41["CommonLogger"]
  0a898b85_5e70_235c_a863_b41e3d48af64["client.go"]
  eca336a5_9b56_c2ca_7ad8_aa3935d13c41 -->|defined in| 0a898b85_5e70_235c_a863_b41e3d48af64
  style eca336a5_9b56_c2ca_7ad8_aa3935d13c41 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

client/client.go lines 37–67

type Client struct {
	logger    log.CommonLogger
	transport httpClientTransport

	header  *Header
	params  *QueryParam
	cookies *Cookie
	path    *PathParam

	jsonMarshal   utils.JSONMarshal
	jsonUnmarshal utils.JSONUnmarshal
	xmlMarshal    utils.XMLMarshal
	xmlUnmarshal  utils.XMLUnmarshal
	cborMarshal   utils.CBORMarshal
	cborUnmarshal utils.CBORUnmarshal

	cookieJar            *CookieJar
	retryConfig          *RetryConfig
	baseURL              string
	userAgent            string
	referer              string
	userRequestHooks     []RequestHook
	builtinRequestHooks  []RequestHook
	userResponseHooks    []ResponseHook
	builtinResponseHooks []ResponseHook

	timeout                time.Duration
	mu                     sync.RWMutex
	debug                  bool
	disablePathNormalizing bool
}

Defined In

Frequently Asked Questions

What is the CommonLogger type?
CommonLogger is a type/interface in the fiber codebase, defined in client/client.go.
Where is CommonLogger defined?
CommonLogger is defined in client/client.go at line 37.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free