caterpillar-filter
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -6,3 +6,4 @@ | ||
Copyright © Bevry Pty Ltd <us@bevry.me> (http://bevry.me) | ||
Copyright © 2012+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me) | ||
<br/>Copyright © 2011 Benjamin Lupton <b@lupton.cc> (http://balupton.com) | ||
@@ -9,0 +10,0 @@ ## The MIT License |
{ | ||
"title": "Filter Transform for [Caterpillar](https://github.com/bevry/caterpillar)", | ||
"name": "caterpillar-filter", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Filter out undesired log levels from your [Caterpillar](https://github.com/bevry/caterpillar) logger stream", | ||
@@ -20,3 +20,3 @@ "homepage": "https://github.com/bevry/caterpillar-filter", | ||
], | ||
"author": "Bevry Pty Ltd <us@bevry.me> (http://bevry.me)", | ||
"author": "2012+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me), 2011 Benjamin Lupton <b@lupton.cc> (http://balupton.com)", | ||
"maintainers": [ | ||
@@ -23,0 +23,0 @@ "Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)" |
@@ -48,4 +48,4 @@ | ||
// Import | ||
var logger = require('caterpillar').create(); | ||
var filter = require('caterpillar-filter').create({level:6}); // omit log level entries above 6 | ||
var logger = require('caterpillar').createLogger(); | ||
var filter = require('caterpillar-filter').createFilter({level:6}); // omit log level entries above 6 | ||
@@ -126,3 +126,4 @@ // Pipe logger output to filter, then filter output to stdout | ||
Copyright © Bevry Pty Ltd <us@bevry.me> (http://bevry.me) | ||
Copyright © 2012+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me) | ||
<br/>Copyright © 2011 Benjamin Lupton <b@lupton.cc> (http://balupton.com) | ||
@@ -129,0 +130,0 @@ <!-- /LICENSE --> |
10570
131