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

Function StructuredInfo

pkg/shared/logger.go:88–90  ·  view source on GitHub ↗

StructuredInfo logs an info message with structured fields

(msg string, attrs ...slog.Attr)

Source from the content-addressed store, hash-verified

86
87// StructuredInfo logs an info message with structured fields
88func StructuredInfo(msg string, attrs ...slog.Attr) {
89 GetLogger().LogAttrs(context.Background(), slog.LevelInfo, msg, attrs...)
90}
91
92// StructuredWarn logs a warning message with structured fields
93func StructuredWarn(msg string, attrs ...slog.Attr) {

Callers 3

LogSuccessWithDetailsFunction · 0.85
LogConnectionEventFunction · 0.85
LogMetricsFunction · 0.85

Calls 1

GetLoggerFunction · 0.85

Tested by

no test coverage detected