Home / Type/ WithLogger Type — fiber Architecture

WithLogger Type — fiber Architecture

Architecture documentation for the WithLogger type/interface in log.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  34463006_283f_c912_b3b9_6664b779ab0e["WithLogger"]
  05d2e69f_2f9c_91ef_77c4_ba99b4116598["log.go"]
  34463006_283f_c912_b3b9_6664b779ab0e -->|defined in| 05d2e69f_2f9c_91ef_77c4_ba99b4116598
  style 34463006_283f_c912_b3b9_6664b779ab0e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

log/log.go lines 48–56

type WithLogger interface {
	Tracew(msg string, keysAndValues ...any)
	Debugw(msg string, keysAndValues ...any)
	Infow(msg string, keysAndValues ...any)
	Warnw(msg string, keysAndValues ...any)
	Errorw(msg string, keysAndValues ...any)
	Fatalw(msg string, keysAndValues ...any)
	Panicw(msg string, keysAndValues ...any)
}

Defined In

Frequently Asked Questions

What is the WithLogger type?
WithLogger is a type/interface in the fiber codebase, defined in log/log.go.
Where is WithLogger defined?
WithLogger is defined in log/log.go at line 48.

Analyze Your Own Codebase

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

Try Supermodel Free