visionmedia/jog — pull request #12 by cpsubrian (2012-10-23 00:45:18+00:00)
Title: Adds StdStore.

Adds support for stdin and stdout.

Uses StdStore as the default when no store is provided.

Allows you do do something like:

```js
// app.js

var log = require('jog')();

log.info('Hello');
log.warn('World');
log.debug('Data', {
property: 'foo',
value: 'bar'
});
```
And then run it like:

```
$ node app.js
{"level":"info","type":"Hello","timestamp":1350952923180}
{"level":"warn","type":"World","timestamp":1350952923181}
{"property":"foo","value":"bar","level":"debug","type":"Data","timestamp":1350952923181}
```

OR

```
$ node app.js | jog -f --map type
Hello
World
Data
```

OR

```
$ node app.js | jog -f --select "_.property === 'foo'"
{ property: 'foo',
value: 'bar',
level: 'debug',
type: 'Data',
timestamp: 1350953035191 }
```

You get the picture :)