electron-log
Advanced tools
Comparing version 2.2.16 to 2.2.17
{ | ||
"name": "electron-log", | ||
"version": "2.2.16", | ||
"version": "2.2.17", | ||
"description": "Just a very simple logging module for your Electron application", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -27,3 +27,3 @@ 'use strict'; | ||
ipcRenderer.on('__ELECTRON_LOG_RENDERER__', function(event, level, text) { | ||
ipcRenderer.on('__ELECTRON_LOG_RENDERER__', function(event, level, data) { | ||
if (level === 'verbose') { | ||
@@ -35,3 +35,6 @@ level = 'log'; | ||
originalConsole[level].call(originalConsole.context, text); | ||
originalConsole[level].apply( | ||
originalConsole.context, | ||
typeof data === 'string' ? [data] : data | ||
); | ||
}); | ||
@@ -38,0 +41,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
23248
567