Based on the pinojs library, it extends some features to make it easier to use. Thanks to Pinojs developers.
To install:
$ npm install "mauro.gallo/simply-logger"
import { Logger } from "easy-logger";
logger = new Logger('MyApp');
...
logger.printError('this is an error');
logger.printInfo('this is a info);
const
Easy-logger package is all MIT licensed and all it's dependencies are MIT licensed.