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

Function LogInfof

pkg/shared/errors.go:77–83  ·  view source on GitHub ↗

LogInfof logs a formatted informational message with emoji prefix

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

Source from the content-addressed store, hash-verified

75
76// LogInfof logs a formatted informational message with emoji prefix
77func LogInfof(format string, args ...interface{}) {
78 msg := fmt.Sprintf("ℹ️ "+format, args...)
79 GetLogger().Info(msg,
80 slog.String("formatted_message", fmt.Sprintf(format, args...)),
81 slog.Time("timestamp", time.Now()),
82 )
83}
84
85// LogProgress logs a progress/activity message with emoji prefix
86func LogProgress(operation string, details ...interface{}) {

Callers 15

startHealthCheckMethod · 0.92
handleWebSocketMethod · 0.92
startBroadcasterMethod · 0.92
ShutdownMethod · 0.92
StartDashboardServerFunction · 0.92
cleanupSessionMethod · 0.92
checkSessionsMethod · 0.92
launchPrimarySessionMethod · 0.92
checkForPromotionMethod · 0.92
promoteSecondaryMethod · 0.92
sendShutdownSignalMethod · 0.92

Calls 1

GetLoggerFunction · 0.85

Tested by

no test coverage detected