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

Function DefaultLogConfig

pkg/shared/logger.go:30–37  ·  view source on GitHub ↗

DefaultLogConfig returns a default logger configuration

()

Source from the content-addressed store, hash-verified

28
29// DefaultLogConfig returns a default logger configuration
30func DefaultLogConfig() *LogConfig {
31 return &LogConfig{
32 Level: slog.LevelInfo,
33 Format: "text",
34 AddSource: false,
35 ServiceName: "lambda-nat-proxy",
36 }
37}
38
39// InitLogger initializes the structured logger
40func InitLogger(config *LogConfig) {

Callers 2

InitLoggerFunction · 0.85
SetLogLevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected