Improving my little node.js logger as the grandad java logger
1 min readJul 20, 2019
Well, today I was developing my own devops platform and I realized that the log in nodejs is basic, nothing compared with my beloved java ❤.
So As I can’t with my genius and I don’t have children, I created a small piece of code that turns this basic console.log:
To
Here my piece of code
And this is how I used it:
const logger = require('./log/Logger.js');
logger.info("Hello I am a message");
This is a beta , so I need to use it to improve or fix it!
That’s all folks!