Implemented separate TCP logger service

This commit is contained in:
Martino Ferrari
2026-02-21 22:30:16 +01:00
parent 817d7276b7
commit 87b9ccebfd
12 changed files with 626 additions and 224 deletions

View File

@@ -25,7 +25,8 @@ The system uses three distinct channels:
### 3.3 Log Streaming (TCP Port 8082)
- **Protocol:** Real-time event streaming.
- **Role:** Forwards global `REPORT_ERROR` calls from the framework to the GUI client.
- **Service:** `TcpLogger` (Standalone component).
- **Role:** Forwards global `REPORT_ERROR` calls and `stdout` messages to the GUI client.
## 4. Component Diagram
```text
@@ -33,9 +34,11 @@ The system uses three distinct channels:
| |
+ <--- [ DebugBrokerWrapper ] (Registry Patch)
| |
[ DebugService ] <----------+
|
+---- (TCP 8080) ----> [ Rust GUI Client ]
+---- (UDP 8081) ----> [ (Oscilloscope) ]
+---- (TCP 8082) ----> [ (Log Terminal) ]
+---------------------+
| |
[ DebugService ] [ TcpLogger ]
| |
+--- (TCP 8080) ------+-----> [ Rust GUI Client ]
+--- (UDP 8081) ------+-----> [ (Oscilloscope) ]
+--- (TCP 8082) ------+-----> [ (Log Terminal) ]
```