MCPcopy
hub / github.com/gofiber/fiber / DefaultLogger

Function DefaultLogger

log/default.go:319–325  ·  view source on GitHub ↗

DefaultLogger returns the default logger.

()

Source from the content-addressed store, hash-verified

317
318// DefaultLogger returns the default logger.
319func DefaultLogger[T any]() AllLogger[T] {
320 if l, ok := logger.(AllLogger[T]); ok {
321 return l
322 }
323
324 return nil
325}

Callers 5

withCapturedLogOutputFunction · 0.92
newClientFunction · 0.92
Test_DefaultSystemLoggerFunction · 0.85

Calls

no outgoing calls

Tested by 4

withCapturedLogOutputFunction · 0.74
Test_DefaultSystemLoggerFunction · 0.68