electron-log
Advanced tools
Comparing version 4.1.0 to 4.1.1
{ | ||
"name": "electron-log", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "Just a very simple logging module for your Electron application", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -17,3 +17,3 @@ 'use strict'; | ||
level: options.level, | ||
scope: options.scope, | ||
scope: options.scope ? options.scope.toJSON() : null, | ||
variables: electronLog.variables, | ||
@@ -20,0 +20,0 @@ }; |
@@ -29,2 +29,7 @@ 'use strict'; | ||
label: label, | ||
toJSON: function () { | ||
return { | ||
label: this.label, | ||
}; | ||
}, | ||
}; | ||
@@ -31,0 +36,0 @@ |
@@ -54,5 +54,6 @@ 'use strict'; | ||
var scopeOptions = electronLog.scope.getOptions(); | ||
var content = transform.transform(message, [ | ||
transform.removeStyles, | ||
transform.customFormatterFactory(transport.format), | ||
transform.customFormatterFactory(transport.format, false, scopeOptions), | ||
transform.concatFirstStringElements, | ||
@@ -59,0 +60,0 @@ transform.maxDepthFactory(), |
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
61301
1855