First commit

This commit is contained in:
2024-02-21 18:47:21 +01:00
commit 0b025587bd
13 changed files with 2291 additions and 0 deletions

19
Modules/logManager.js Normal file
View File

@@ -0,0 +1,19 @@
import pino from 'pino';
const logger = pino();
export function log(x) {
logger.info(x);
}
export function debug(x) {
logger.debug(x);
}
export function warn(x) {
logger.warn(x);
}
export function error(x) {
logger.error(x);
}