electron-log
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -10,3 +10,3 @@ # Changelog | ||
- add object `log.functions` which allows to safety exports logger functions | ||
- add object `log.functions` which allows to safety export logger functions | ||
@@ -44,3 +44,3 @@ - Web Workers support | ||
and can freeze an application when there are a lot of calls. | ||
- File transport doesn't use stream.Writable anymore. | ||
- File transport doesn't use `stream.Writable` anymore. | ||
- New feature: hooks. | ||
@@ -60,3 +60,3 @@ - New feature: log file clearing. | ||
[Override transport section](README.md#override-transport) if you use | ||
a custom transport. | ||
custom transport. | ||
- Now it's not possible to configure transports from a renderer | ||
@@ -63,0 +63,0 @@ process, only from the main. |
{ | ||
"name": "electron-log", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "Just a very simple logging module for your Electron application", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -10,3 +10,3 @@ # electron-log | ||
By default it writes logs to the following locations: | ||
By default, it writes logs to the following locations: | ||
@@ -13,0 +13,0 @@ - **on Linux:** `~/.config/{app name}/logs/{process type}.log` |
@@ -43,2 +43,6 @@ 'use strict'; | ||
if (data instanceof Error) { | ||
return data; | ||
} | ||
var newJson = {}; | ||
@@ -45,0 +49,0 @@ for (var i in data) { |
@@ -49,2 +49,3 @@ 'use strict'; | ||
useStyles ? transform.applyAnsiStyles : transform.removeStyles, | ||
transform.maxDepthFactory(10), | ||
transform.toJSON, | ||
@@ -51,0 +52,0 @@ ]); |
@@ -56,2 +56,3 @@ 'use strict'; | ||
transform.customFormatterFactory(transport.format), | ||
transform.maxDepthFactory(10), | ||
transform.toString, | ||
@@ -58,0 +59,0 @@ ]); |
@@ -36,2 +36,3 @@ 'use strict'; | ||
transform.removeStyles, | ||
transform.maxDepthFactory(), | ||
transform.toJSON, | ||
@@ -38,0 +39,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
54806
1638