MCPcopy Create free account
hub / github.com/dan-v/lambda-nat-proxy / GetLogger

Function GetLogger

pkg/shared/logger.go:68–73  ·  view source on GitHub ↗

GetLogger returns the global structured logger

()

Source from the content-addressed store, hash-verified

66
67// GetLogger returns the global structured logger
68func GetLogger() *slog.Logger {
69 if logger == nil {
70 InitLogger(nil) // Initialize with defaults
71 }
72 return logger
73}
74
75// Structured logging functions with context support
76

Callers 15

LogWithContextFunction · 0.85
LogDebugFunction · 0.85
StructuredInfoFunction · 0.85
StructuredWarnFunction · 0.85
StructuredErrorFunction · 0.85
LogErrorFunction · 0.85
LogErrorfFunction · 0.85
LogSuccessFunction · 0.85
LogSuccessfFunction · 0.85
LogInfoFunction · 0.85
LogInfofFunction · 0.85
LogProgressFunction · 0.85

Calls 1

InitLoggerFunction · 0.85

Tested by

no test coverage detected