Comparing version 0.1.0 to 0.1.1
@@ -25,2 +25,3 @@ /** | ||
extract: function(line) {return line;}, | ||
ignore: function(line) {return line.indexOf('to-be-ignored') < 0;} | ||
alerters: [ | ||
@@ -27,0 +28,0 @@ [console_], |
@@ -60,3 +60,8 @@ /** | ||
tail.on('line', function(line) { | ||
emitter.emit('line', target.extract(line)); | ||
line = target.extract(line); | ||
if (target.ignore && target.ignore(line)) { | ||
return; | ||
} | ||
emitter.emit('line', line); | ||
}); | ||
@@ -63,0 +68,0 @@ |
{ | ||
"name": "errdog", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
@@ -6,2 +6,13 @@ Node Error Dog | ||
``` | ||
_=,_ | ||
o_/6 /#\ | ||
\__ |##/ | ||
='|--\ | ||
/ #'-. | ||
\#|_ _'-. / | ||
|/ \_( # |" | ||
errdog C/ ,--___/ | ||
``` | ||
Install | ||
@@ -8,0 +19,0 @@ ------- |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
7945
260
35
0