Socket
Socket
Sign inDemoInstall

electron-log

Package Overview
Dependencies
Maintainers
1
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-log - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

6

CHANGELOG.md

@@ -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 @@ ]),

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc