(level: ClientLogLevel, label: string, detail?: unknown)
| 315 | }; |
| 316 | |
| 317 | function traceClientLog(level: ClientLogLevel, label: string, detail?: unknown): void { |
| 318 | if (!isTraceEnabled()) return; |
| 319 | push({ |
| 320 | source: 'client', |
| 321 | kind: `client:${level}`, |
| 322 | label: `${LEVEL_GLYPH[level]} ${label}`, |
| 323 | detail: detailOf(detail), |
| 324 | }); |
| 325 | } |
| 326 | |
| 327 | /** Record a client-side diagnostic event (e.g. a feature's internal state, such |
| 328 | as audio playback) into the troubleshooting log. No-op unless tracing is |
no test coverage detected