Comparing version 0.0.1 to 0.0.2
@@ -10,3 +10,3 @@ var logentries = require('winston-logentries').Logentries; | ||
var SLACK_LOG_WEBHOOK = process.env.SLACK_LOG_HOOK | ||
var SLACK_LOG_WEBHOOK = process.env.SLACK_LOG_WEBHOOK | ||
var SLACK_LOG_CHANNEL = process.env.SLACK_LOG_CHANNEL | ||
@@ -47,3 +47,3 @@ | ||
if (SLACK_WEBHOOK && SLACK_CHANNEL) { | ||
if (SLACK_LOG_WEBHOOK && SLACK_LOG_CHANNEL) { | ||
logger.use(slack, { | ||
@@ -50,0 +50,0 @@ level: 'warn', |
{ | ||
"name": "allogator", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Easily pipe logs to different services by setting environment variables", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -12,3 +12,3 @@ # allogator | ||
##### Slack | ||
##### Slack | ||
`SLACK_LOG_WEBHOOK` | ||
@@ -19,3 +19,3 @@ | ||
(note that the stack trace will be included if an error is passed in meta as `{ error: Error }`) | ||
##### Loggly | ||
@@ -27,4 +27,4 @@ `LOGGLY_TOKEN` | ||
`LOGGLY_TAGS` (comma-separated list of tags you want associated with these log messages) | ||
##### LogEntries | ||
`LOGENTRIES_TOKEN` |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
5156