logginator
Advanced tools
Comparing version 1.2.2 to 1.3.1
13
index.js
@@ -5,2 +5,3 @@ var fs = require('fs'); | ||
var winstonSyslog = require('winston-syslog').Syslog; | ||
var winstonPapertrail = require('winston-papertrail').Papertrail; | ||
var TaggedConsoleTarget = require('tagged-console-target'); | ||
@@ -73,2 +74,14 @@ var TaggedLogger = require('tagged-logger'); | ||
return new winstonSyslog(options); | ||
}, | ||
"papertrail": function(spec) { | ||
if (!spec.host || !spec.port) throw new Error("Host and port are required" + | ||
"for papertrail log target"); | ||
return new winstonPapertrail({ | ||
program: spec.program || process.title, | ||
host: spec.host, | ||
port: spec.port, | ||
colorize: true | ||
}); | ||
} | ||
@@ -75,0 +88,0 @@ }; |
{ | ||
"name": "logginator", | ||
"version": "1.2.2", | ||
"version": "1.3.1", | ||
"description": "Creates an instance of TaggedLogger", | ||
"main": "index.js", | ||
"dependencies": { | ||
"winston": "*", | ||
"tagged-console-target": "~1.0.4", | ||
"tagged-logger": "~1.0.0", | ||
"unix-dgram": "git://github.com/brikteknologier/node-unix-dgram.git", | ||
"winston": "^0.9.0", | ||
"winston-papertrail": "^1.0.1", | ||
"winston-syslog": "git://github.com/brikteknologier/winston-syslog.git" | ||
@@ -12,0 +13,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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
7524
142
1
6
5
+ Addedwinston-papertrail@^1.0.1
+ Addedglossy@0.1.7(transitive)
+ Addedwinston-papertrail@1.0.5(transitive)
- Removed@colors/colors@1.6.0(transitive)
- Removed@dabh/diagnostics@2.0.3(transitive)
- Removed@types/triple-beam@1.3.5(transitive)
- Removedasync@3.2.6(transitive)
- Removedcolor@3.2.1(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcolor-string@1.9.1(transitive)
- Removedcolorspace@1.1.4(transitive)
- Removedenabled@2.0.0(transitive)
- Removedfecha@4.2.3(transitive)
- Removedfn.name@1.1.0(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-arrayish@0.3.2(transitive)
- Removedis-stream@2.0.1(transitive)
- Removedkuler@2.0.0(transitive)
- Removedlogform@2.7.0(transitive)
- Removedms@2.1.3(transitive)
- Removedone-time@1.0.0(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsafe-stable-stringify@2.5.0(transitive)
- Removedsimple-swizzle@0.2.2(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedtext-hex@1.0.0(transitive)
- Removedtriple-beam@1.4.1(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwinston@3.17.0(transitive)
- Removedwinston-transport@4.9.0(transitive)
Updatedwinston@^0.9.0