2024-06-21 23:09:42 +03:00

12 lines
262 B
JavaScript

// utils/helpers.js
// Example helper function to log messages with timestamps
const logWithTimestamp = (message) => {
const timestamp = new Date().toISOString();
console.log(`[${timestamp}] ${message}`);
};
module.exports = {
logWithTimestamp,
};