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 5.1.2 to 5.1.4

2

package.json
{
"name": "electron-log",
"version": "5.1.2",
"version": "5.1.4",
"description": "Just a simple logging module for your Electron application",

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

@@ -156,2 +156,6 @@ # electron-log

#### Third-party transports
- [Datadog](https://github.com/theogravity/electron-log-transport-datadog)
### Overriding console.log

@@ -158,0 +162,0 @@

@@ -128,4 +128,9 @@ 'use strict';

function readAllLogs({ fileFilter = (f) => f.endsWith('.log') } = {}) {
initializeOnFirstAccess();
const logsPath = path.dirname(transport.resolvePathFn(pathVariables));
if (!fs.existsSync(logsPath)) {
return [];
}
return fs.readdirSync(logsPath)

@@ -132,0 +137,0 @@ .map((fileName) => path.join(logsPath, fileName))

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