Files
holybar/helpers/logger.mjs
T
2026-04-17 15:36:11 +02:00

10 lines
303 B
JavaScript

/**
* A simple logging utility that prefixes log messages with a timestamp and a tag.
*
* @param {...any} args - The arguments to log, which can be of any type.
*/
export const log = (...args) => {
const timestamp = new Date().toISOString();
console.log(`[holybar] [${timestamp}]`, ...args);
};