1.0.5 • Published 7 years ago

yajlog v1.0.5

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

yajlog - Yet another json logger

A lib that wraps log2js and adds a default json appender.

Made it for simple use. You can log strings and object in any order. Objects will be printed in the data property and strings (appended with space) in the message property.

const yajlog = require('yajlog');

yajlog.configure({
    tokens: {
        devs: 'are kings',
        nerds: () => {
            return 'are gods';
        }
    }
});

console.log('test', {
    property: 'goes here!'
}, "test2")
1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.0

7 years ago