initial
This commit is contained in:
11
ts/logger.ts
Normal file
11
ts/logger.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Logger module
|
||||
* Simple logging for mailer
|
||||
*/
|
||||
|
||||
export const logger = {
|
||||
log: (level: string, message: string, ...args: any[]) => {
|
||||
const timestamp = new Date().toISOString();
|
||||
console.log(`[${timestamp}] [${level.toUpperCase()}] ${message}`, ...args);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user