Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "fable-log", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A simple logging wrapper.", | ||
@@ -36,2 +36,3 @@ "main": "source/Fable-Log.js", | ||
"fable-uuid": "~1.0.1", | ||
"gelf-stream": "^1.1.0", | ||
"mongodb": "2.0.49", | ||
@@ -38,0 +39,0 @@ "underscore": "1.8.3" |
@@ -19,2 +19,3 @@ /** | ||
var _GelfStream = false; | ||
var _MongoStream = false; | ||
@@ -144,2 +145,9 @@ var _MongoStreamInitialized = false; | ||
break; | ||
case 'graylog': | ||
var libGelf = require('gelf-stream'); | ||
var tmpServer = pLogStreams[i].server || '127.0.0.1'; | ||
var tmpPort = pLogStreams[i].port || 12201; | ||
_GelfStream = libGelf.forBunyan(tmpServer, tmpPort); | ||
tmpStreams.push({ level:tmpLogLevel, type: 'raw', stream:_GelfStream}) | ||
break; | ||
} | ||
@@ -146,0 +154,0 @@ } |
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
41557
1073
6
+ Addedgelf-stream@^1.1.0
+ Addedgelf-stream@1.1.1(transitive)
+ Addedgelfling@0.3.1(transitive)