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

Function LogConnectionf

pkg/shared/errors.go:189–195  ·  view source on GitHub ↗

LogConnectionf logs a formatted connection message with emoji prefix

(format string, args ...interface{})

Source from the content-addressed store, hash-verified

187
188// LogConnectionf logs a formatted connection message with emoji prefix
189func LogConnectionf(format string, args ...interface{}) {
190 msg := fmt.Sprintf("🔗 "+format, args...)
191 GetLogger().Info(msg,
192 slog.String("formatted_message", fmt.Sprintf(format, args...)),
193 slog.Time("timestamp", time.Now()),
194 )
195}
196
197// LogStorage logs a storage-related message with emoji prefix
198func LogStorage(operation string, details ...interface{}) {

Calls 1

GetLoggerFunction · 0.85

Tested by

no test coverage detected