refactor: replace console.log/error with structured logger across server
Migrate all server modules to use the centralized logger (lib/logger.ts) instead of raw console calls. Lint warnings reduced from 74 to 25. Remaining warnings are only no-floating-promises in game engine code. Files updated: orchestrator.ts, ranked-queue.ts, human-responses.ts, payments.ts, fight-loop.ts, app.ts, routes/payments.ts Files suppressed: logger.ts, fight-loop-cli.ts, migrate.ts (legitimate console use) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
1f532681df
commit
4cc18048e8
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable no-console -- this IS the logger, wrapping console is its purpose */
|
||||
function ts(): string {
|
||||
return new Date().toISOString()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user