(output string)
| 69 | } |
| 70 | |
| 71 | func (c *Core) captureRuntimeLogLine(output string) { |
| 72 | c.RecordRuntimeLog(output) |
| 73 | // Non-blocking send: skip if channel is full to prevent deadlock |
| 74 | select { |
| 75 | case c.logsChan <- output: |
| 76 | // Log sent successfully |
| 77 | default: |
| 78 | // Channel full, skip this log (prevents blocking xray process) |
| 79 | } |
| 80 | c.detectLogType(output) |
| 81 | } |
no test coverage detected