electron-log
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -18,3 +18,3 @@ # Changelog | ||
- **on macOS:** `~/Library/Logs/{app name}/{process type}.log` | ||
- **on Windows:** `%USERPROFILE%\AppData\Roaming\{app name}\{process type}.log` | ||
- **on Windows:** `%USERPROFILE%\AppData\Roaming\{app name}\logs\{process type}.log` | ||
@@ -21,0 +21,0 @@ |
{ | ||
"name": "electron-log", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Just a very simple logging module for your Electron application", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -18,10 +18,6 @@ # electron-log | ||
Install with [npm](https://npmjs.org/package/electron-log) (v3): | ||
Install with [npm](https://npmjs.org/package/electron-log): | ||
npm install electron-log | ||
or you can try v4-beta: | ||
npm install electron-log@beta | ||
## Usage | ||
@@ -28,0 +24,0 @@ |
@@ -13,2 +13,6 @@ 'use strict'; | ||
function maxDepth(data, depth) { | ||
if (!data) { | ||
return data; | ||
} | ||
if (depth < 1) { | ||
@@ -15,0 +19,0 @@ if (data.push) return '[array]'; |
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
1632
54642
198