(config: LoggingConfig)
| 411 | } |
| 412 | |
| 413 | export function debugString(config: LoggingConfig): string { |
| 414 | const components = [VisualElements[config.ve]]; |
| 415 | if (config.context) { |
| 416 | components.push(`context: ${config.context}`); |
| 417 | } |
| 418 | if (config.parent) { |
| 419 | components.push(`parent: ${config.parent}`); |
| 420 | } |
| 421 | if (config.track) { |
| 422 | components.push(`track: ${ |
| 423 | Object.entries(config.track) |
| 424 | .map(([key, value]) => `${key}${typeof value === 'string' ? `: ${value}` : ''}`) |
| 425 | .join(', ')}`); |
| 426 | } |
| 427 | return components.join('; '); |
| 428 | } |
| 429 | |
| 430 | const veDebugEventsLog: Array<IntuitiveLogEntry|AdHocAnalysisLogEntry|TestLogEntry> = []; |
| 431 |
no test coverage detected