gelf-stream
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -29,4 +29,7 @@ var gelfStream = exports | ||
GelfStream.prototype._write = function(chunk, encoding, callback) { | ||
if (!this._options.filter || this._options.filter(chunk)) | ||
if (!this._options.filter || this._options.filter(chunk)) { | ||
this._client.send(this._options.map ? this._options.map(chunk) : chunk, callback) | ||
} else { | ||
callback() | ||
} | ||
} | ||
@@ -33,0 +36,0 @@ |
{ | ||
"name": "gelf-stream", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A stream to send JS objects to a Graylog2 server (in GELF format)", | ||
@@ -5,0 +5,0 @@ "author": "Michael Hart <michael.hart.au@gmail.com> (http://github.com/mhart)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6688
126