Javascript Logger Nodejs package that works with both ES5 and ES6
To install and run Logger on your local system , you will need the following softwares pre-installed on your system
- Node js
To use the library into your Modern javascript project , follow these steps.
STEP 1: Install the package by entering the following command inside root of your project
npm install typescript-and-javascript-logger --save
If you are using ES5 for you project, you should use the package in following way
var logger = require("typescript-and-javascript-logger").LoggerInstance;
logger.info("logger");
logger.debug("logger");
logger.error("logger");
If you are using ES6 for you project, you should use the package in following way
import {LoggerInstance} from 'typescript-and-javascript-logger';
LoggerInstance.info("logger");
LoggerInstance.debug("logger");
LoggerInstance.error("logger");
- PRABHAT GIRI (giri.prabhat33@gmail.com)
This project is licensed under the MIT License - see the LICENSE.md file for details