()
| 7 | |
| 8 | let extensionLogPath: string; |
| 9 | export function getExtensionLogPath() { |
| 10 | extensionLogPath = extensionLogPath || config.extensionLogFile || path.join(process.env.DC_TEST_LOGS || os.tmpdir(), `dart-code-startup-log-${getRandomInt(0x1000, 0x10000).toString(16)}.txt`); |
| 11 | return extensionLogPath; |
| 12 | } |
| 13 | export const userSelectableLogCategories: Record<string, LogCategory> = { |
| 14 | "Analysis Server": LogCategory.Analyzer, |
| 15 | "Analysis Server Timings": LogCategory.AnalyzerTiming, |
no test coverage detected