electron-log
Advanced tools
Comparing version 5.2.2 to 5.2.3
{ | ||
"name": "electron-log", | ||
"version": "5.2.2", | ||
"version": "5.2.3", | ||
"description": "Just a simple logging module for your Electron application", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -25,7 +25,8 @@ 'use strict'; | ||
const newScope = {}; | ||
for (const level of [...logger.levels, 'log']) { | ||
for (const level of logger.levels) { | ||
newScope[level] = (...d) => logger.logData(d, { level, scope: label }); | ||
} | ||
newScope.log = newScope.info; | ||
return newScope; | ||
} | ||
} |
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
91347
2911