(path: string)
| 53 | }) |
| 54 | |
| 55 | function getDebugLogBudgetState(path: string): DebugLogBudgetState { |
| 56 | let state = debugLogBudgetByPath.get(path) |
| 57 | if (!state) { |
| 58 | state = { initialized: false, bytes: 0, capped: false } |
| 59 | debugLogBudgetByPath.set(path, state) |
| 60 | } |
| 61 | return state |
| 62 | } |
| 63 | |
| 64 | function applyDebugLogBudget( |
| 65 | path: string, |
no test coverage detected