()
| 42 | } |
| 43 | |
| 44 | export async function startNetLog() { |
| 45 | if (netLog.currentlyLogging) return |
| 46 | netLogPath = join(run, "network.netlog") |
| 47 | await netLog.startLogging(netLogPath, { captureMode: "default", maxFileSize: NET_LOG_SIZE }) |
| 48 | write("network", "net log started", { path: netLogPath }) |
| 49 | } |
| 50 | |
| 51 | export async function exportDebugLogs() { |
| 52 | const restartNetLog = netLog.currentlyLogging |
no test coverage detected