From d8faff66a6f7139e60288289ca9f7c0710d13724 Mon Sep 17 00:00:00 2001 From: Shreyas Date: Wed, 2 Dec 2020 23:21:39 +0530 Subject: [PATCH] Fix README.md Fix the location of `logger.js` mentioned in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3284b11d..8f24386d 100644 --- a/README.md +++ b/README.md @@ -278,12 +278,12 @@ If the user making the request does not have the required permissions to access ## Logging -Import the logger from `src/utils/logger.js`. It is using the [Winston](https://github.com/winstonjs/winston) logging library. +Import the logger from `src/config/logger.js`. It is using the [Winston](https://github.com/winstonjs/winston) logging library. Logging should be done according to the following severity levels (ascending order from most important to least important): ```javascript -const logger = require('/utils/logger'); +const logger = require('/config/logger'); logger.error('message'); // level 0 logger.warn('message'); // level 1