cordova-plugin-unvired-logger 0.0.22 → 0.0.23

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-plugin-unvired-logger",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
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.22"
2
+ <plugin id="cordova-plugin-unvired-logger" version="0.0.23"
3
3
  xmlns="http://apache.org/cordova/ns/plugins/1.0"
4
4
  xmlns:android="http://schemas.android.com/apk/res/android">
5
5
 
@@ -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 = 7;
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 = 9;
27
+ private static final int LOG_LEVEL_INFO = 7;
28
28
 
29
29
  private int defaultLogLevel = LOG_LEVEL_INFO;
30
30
 
@@ -3,9 +3,9 @@ const BACKUP_LOG_FILE_NAME = 'log_backup.txt';
3
3
  const MAX_LOG_SIZE = 50 * 1024 * 1024; // 50MB
4
4
 
5
5
  const LogLevel = {
6
- Debug: 7,
6
+ Debug: 9,
7
7
  Error: 8,
8
- Info: 9,
8
+ Info: 7,
9
9
  };
10
10
 
11
11
  let defaultLogLevel = LogLevel.Info; // Now an int
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-plugin-unvired-logger",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "description": "Electron platform package for cordova-plugin-unvired-logger",
5
5
  "main": "Logger.js",
6
6
  "scripts": {