LogSuccessWithDetails logs a successful operation
(operation string, attrs ...slog.Attr)
| 113 | |
| 114 | // LogSuccessWithDetails logs a successful operation |
| 115 | func LogSuccessWithDetails(operation string, attrs ...slog.Attr) { |
| 116 | allAttrs := append([]slog.Attr{ |
| 117 | slog.String("operation", operation), |
| 118 | slog.Time("timestamp", time.Now()), |
| 119 | }, attrs...) |
| 120 | StructuredInfo("Operation completed successfully", allAttrs...) |
| 121 | } |
| 122 | |
| 123 | // LogConnectionEvent logs connection-related events |
| 124 | func LogConnectionEvent(event string, remote string, attrs ...slog.Attr) { |
nothing calls this directly
no test coverage detected