Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions backend/replace_logger.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/**
* One-time migration script that updates logger calls from:
* logger.info(), logger.warn(), logger.error()
* to:
* logger.withContext().info(), logger.withContext().warn(),
* logger.withContext().error().
*
* This script is intended only for the logger API migration and
* is not part of the application's runtime. It can be retained
* for reference or removed after the migration is complete unless
* a similar migration is needed in the future.
*/

const fs = require('fs');
const path = require('path');

Expand Down
Loading