(label: string, detail?: unknown)
| 330 | only a boolean check. Prefer this over raw console.* for diagnostics that |
| 331 | should surface in the exported log. */ |
| 332 | export function traceClientEvent(label: string, detail?: unknown): void { |
| 333 | if (!isTraceEnabled()) return; |
| 334 | push({ |
| 335 | source: 'client', |
| 336 | kind: 'client:event', |
| 337 | label: `· ${label}`, |
| 338 | detail: detailOf(detail), |
| 339 | }); |
| 340 | } |
| 341 | |
| 342 | let clientCaptureInstalled = false; |
| 343 |
no test coverage detected