Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 10, 2012
1 parent afa242a commit 6f998d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/levels.js
Expand Up @@ -10,3 +10,8 @@ setInterval(function(){
setInterval(function(){
log.error('something broke', { user: 'jane', errorid: id++ });
}, 4000);

// try:
// jog -F /tmp/levels.log --select "_.level == 'error'" --select "_.errorid < 50"
// jog -F /tmp/levels.log --level error --select "_.errorid < 50"
// jog -F /tmp/levels.log --type "something broke" --select "Date.now() - _.timestamp < 5000"

0 comments on commit 6f998d0

Please sign in to comment.