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.2 to 4.0.3

12

CHANGELOG.md

@@ -10,3 +10,3 @@ # Changelog

- add object `log.functions` which allows to safety export logger functions
- add object `log.functions`

@@ -42,3 +42,3 @@ - Web Workers support

packaged application. So now electron-log works using almost the same
way in main and renderer processes. The reason - IPC is pretty slow
way in the main and renderer processes. The reason - IPC is pretty slow
and can freeze an application when there are a lot of calls.

@@ -58,8 +58,8 @@ - File transport doesn't use `stream.Writable` anymore.

- Move log.appName property to log.transports.file.appName.
- Change a log message object. See updated
[Override transport section](README.md#override-transport) if you use
custom transport.
- Change a log message object.
See updated [Override transport section](README.md#override-transport) if you
use custom transport.
- Now it's not possible to configure transports from a renderer
process, only from the main.
- To disable a transport set its level to false.
- To disable a transport set its level to `false`.
- Fix problems when this package is used from a renderer process.

@@ -66,0 +66,0 @@ - Add Typescript definitions.

{
"name": "electron-log",
"version": "4.0.2",
"version": "4.0.3",
"description": "Just a very simple logging module for your Electron application",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -33,4 +33,4 @@ # electron-log

Read [the migration guide](docs/migration.md) and [the changelog](CHANGELOG.md)
if you would like to upgrade to the latest version.
If you would like to upgrade to the latest version, read
[the migration guide](docs/migration.md) and [the changelog](CHANGELOG.md).

@@ -44,3 +44,3 @@ ### Log levels

### `nodeIntegration`
If you've got an error in a renderer process similar to `require is not defined`
If you've got an error like `require is not defined` in a renderer process,
read [the nodeIntegration section](docs/node-integration.md).

@@ -167,3 +167,3 @@

- **showDialog**, default true for the main process. Set it to false to prevent
- **showDialog**, default true for the main process. false prevents
showing a default electron error dialog

@@ -170,0 +170,0 @@ - **onError**, `(error) => void | false`, default null - attach a custom

@@ -18,3 +18,3 @@ 'use strict';

if (depth < 1) {
if (data.push) return '[array]';
if (data.map) return '[array]';
if (typeof data === 'object') return '[object]';

@@ -25,3 +25,3 @@

if (data.push) {
if (typeof data.map === 'function') {
return data.map(function (child) {

@@ -28,0 +28,0 @@ return maxDepth(child, depth - 1);

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