OJET: Logging with js-logger
One of the common challenges in Enterprise Application is the the Logging. In Java EE / Jakarta EE you can use Java Logger with one of their famous implementations such us log4j for logging in a file system or database easily and also monitor them using Elastic or other log monitoring tools. How can I log in JavaScript? Obviously it exists the console.log for logging into the BROWSER Console . However, for Enterprise Application we will require to log the information somewhere to be consumed!!!. There are million of Logger modules in NPM For logging in an Enterprise way we are not going to re-invent the wheel. We can use one of the numerous logging modules you can find in NPM :). js-logger: Lightweight, unobtrusive, configurable JavaScript logger as they define it! https://www.npmjs.com/package/js-logger log4js: Yes looks like our famous log4js . It is a very famous implementation. We can format, create our own appenders etc..Much more complete than js-logger. loglevel: h...