(msg: string)
| 34 | let retryCount = 0; |
| 35 | |
| 36 | const warn = (msg: string) => { |
| 37 | const line = JSON.stringify({ |
| 38 | level: 40, |
| 39 | time: new Date(), |
| 40 | msg, |
| 41 | }); |
| 42 | boom.write(`${line}\n`); |
| 43 | }; |
| 44 | |
| 45 | function maybeRotate(startingIndex = maxSavedLogFiles - 1) { |
| 46 | let pendingFileIndex = startingIndex; |