LogInfof logs a formatted informational message with emoji prefix
(format string, args ...interface{})
| 75 | |
| 76 | // LogInfof logs a formatted informational message with emoji prefix |
| 77 | func 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 |
| 86 | func LogProgress(operation string, details ...interface{}) { |
no test coverage detected