()
| 26 | |
| 27 | // Get current log file path |
| 28 | function getLogFilePath(): string { |
| 29 | const logDir = getLogDir(); |
| 30 | return path.join(logDir, "cn.log"); |
| 31 | } |
| 32 | |
| 33 | // Simple replacer for JSON.stringify to handle common issues |
| 34 | function createReplacer() { |