refactor: migrate to winston and enable daily rotated app logs (#71)

This commit is contained in:
vin authored and GitHub committed 2026-02-06 21:10:54 +08:00
1 parent ed94abf0d6
commit 2ae2216f1e
17 files changed
+414 -92

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ try {
logger.info(`Database router check: ${!!db}`);
}
} catch (e) {
console.error('Error logging router:', e);
logger.error('Error logging router:', e);
}
export const rpcHandler: RPCHandler<Record<never, never>> = new RPCHandler(router);