add jsdoc
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* 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);
|
||||
|
||||
Reference in New Issue
Block a user