LogConnectionf logs a formatted connection message with emoji prefix
(format string, args ...interface{})
| 187 | |
| 188 | // LogConnectionf logs a formatted connection message with emoji prefix |
| 189 | func 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 |
| 198 | func LogStorage(operation string, details ...interface{}) { |
no test coverage detected