logule
logule copied to clipboard
Log to file feature
It would be awesome to do something like: var log = require('logule').init(module); log.toFile();
What it will do is:
- Log to te console (as normal)
- Create logs folder and add files there. Each time app starts, create file in log called "10.5.2018_20:54:22.log" and each time I log something it also logs into the file (exactly the same way as its in console - not JSON)
I know I can do it myself but it would be awesome to be able do it this way, so I dont have to write 100+ likes each time I create new project where I want ot use logule.