Simple JSON log.
npm i logrc
new log = new (require('logrc')).base('some.log');
new log = (require('logrc')).stamped(dir, file);
new log = (require('logrc')).dated(dir, file);
log.log({
process : 'something',
message : 'some message'
});
log.log({
process : 'something',
message : 'other message'
});
new log = new (require('logrc')).base('some.log');
log.log({
process : 'something',
message : 'some message'
});
log.log({
process : 'something',
message : 'other message'
});