LogSuccessf logs a formatted success message with emoji prefix
(format string, args ...interface{})
| 47 | |
| 48 | // LogSuccessf logs a formatted success message with emoji prefix |
| 49 | func LogSuccessf(format string, args ...interface{}) { |
| 50 | msg := fmt.Sprintf("✅ "+format, args...) |
| 51 | GetLogger().Info(msg, |
| 52 | slog.String("formatted_message", fmt.Sprintf(format, args...)), |
| 53 | slog.Time("timestamp", time.Now()), |
| 54 | ) |
| 55 | } |
| 56 | |
| 57 | // LogInfo logs an informational message with emoji prefix |
| 58 | func LogInfo(operation string, details ...interface{}) { |
no test coverage detected