MetaEMK / RecipeManager_Backend

0 stars 0 forks source link

implementing logger.ts #9

Closed MetaEMK closed 2 years ago

MetaEMK commented 2 years ago

adding logger.ts

MetaEMK commented 2 years ago

use it with:

import { createLogger, LOG_ENDPOINT } from "./utils/logger";

const logger = createLogger();

//just a example
logger.info("This is a InfoLog", LOG_ENDPOINT.MAIN);