georgeous
v0.4.0
Published
Write georgeous log lines.
Downloads
27
Readme
Install
npm install --save georgeous
Usage
const log = require('georgeous');
log('Hello World!');
log({ level: 'info', msg: 'Hello World!' });
log.info('successfully logged in', { user: 'moeriki' });
log.warn('could not get asset by ID', { id: 123 });
log.error('failure', new Error('NOPE'));
log.fatal('catastrophic failure');
Use with Bunyan
install
npm install --save-dev georgeous
package.json in your app
{
"start": "node index.js | georgeous --preset bunyan"
}
Setup Bunyan are you normally would.