@sebastianfoth/winston-nodemailer
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -25,3 +25,2 @@ "use strict"; | ||
} | ||
console.log(JSON.stringify(info)); | ||
const level = info.level; | ||
@@ -46,3 +45,2 @@ let message = info.message; | ||
this.triggered = setTimeout(() => { | ||
console.log(JSON.stringify(this.errorDetailsBuffer)); | ||
this.sendMail({ | ||
@@ -59,3 +57,3 @@ errorDetails: { | ||
application: this.application, | ||
environment: process.env.NODE_ENV, | ||
environment: process.env.NODE_ENV || 'Default', | ||
}, { | ||
@@ -66,3 +64,3 @@ errorDetails: this.errorDetailsBuffer, | ||
application: this.application, | ||
environment: process.env.NODE_ENV, | ||
environment: process.env.NODE_ENV || 'Default', | ||
}, callback); | ||
@@ -105,2 +103,12 @@ }, this.waitUntilSend); | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Timestamp</th> | ||
<th>Level</th> | ||
<th>Message</th> | ||
<th>Meta</th> | ||
<th>Stack</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{{#errors}} | ||
@@ -125,3 +133,3 @@ <tr> | ||
{{/errors}} | ||
</tbody> | ||
</table> | ||
@@ -128,0 +136,0 @@ |
{ | ||
"name": "@sebastianfoth/winston-nodemailer", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "A nodemailer transport for winston 3.x", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
10185
244