(output string)
| 56 | } |
| 57 | |
| 58 | func (c *Core) captureStartupLogLine(output string) { |
| 59 | c.RecordStartupLog(output) |
| 60 | |
| 61 | // Non-blocking send: skip if channel is full to prevent deadlock |
| 62 | select { |
| 63 | case c.logsChan <- output: |
| 64 | // Log sent successfully |
| 65 | default: |
| 66 | // Channel full, skip this log (prevents blocking xray process) |
| 67 | } |
| 68 | c.detectLogType(output) |
| 69 | } |
| 70 | |
| 71 | func (c *Core) captureRuntimeLogLine(output string) { |
| 72 | c.RecordRuntimeLog(output) |
no test coverage detected