cordova-plugin-unvired-logger 0.0.22 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/plugin.xml +1 -1
- package/src/android/Logger.java +2 -2
- package/src/browser/Logger.js +2 -2
- package/src/electron/package.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cordova-plugin-unvired-logger",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"description": "A logger plugin for Electron, Android, Browser, and iOS that appends logs to log.txt files organized by user ID.",
|
|
5
5
|
"cordova": {
|
|
6
6
|
"id": "cordova-plugin-unvired-logger",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<plugin id="cordova-plugin-unvired-logger" version="0.0.
|
|
2
|
+
<plugin id="cordova-plugin-unvired-logger" version="0.0.24"
|
|
3
3
|
xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
4
4
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
5
5
|
|
package/src/android/Logger.java
CHANGED
|
@@ -22,9 +22,9 @@ public class Logger extends CordovaPlugin {
|
|
|
22
22
|
private static final long MAX_LOG_SIZE = 50 * 1024 * 1024; // 50MB
|
|
23
23
|
|
|
24
24
|
// LogLevel constants as int
|
|
25
|
-
private static final int LOG_LEVEL_DEBUG =
|
|
25
|
+
private static final int LOG_LEVEL_DEBUG = 9;
|
|
26
26
|
private static final int LOG_LEVEL_ERROR = 8;
|
|
27
|
-
private static final int LOG_LEVEL_INFO =
|
|
27
|
+
private static final int LOG_LEVEL_INFO = 7;
|
|
28
28
|
|
|
29
29
|
private int defaultLogLevel = LOG_LEVEL_INFO;
|
|
30
30
|
|
package/src/browser/Logger.js
CHANGED