@pagopa/io-react-native-cie 1.3.3 → 1.3.4
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.
|
@@ -5,11 +5,12 @@ import { z } from 'zod';
|
|
|
5
5
|
/**
|
|
6
6
|
* Represent the log mode for the CIE SDK
|
|
7
7
|
*
|
|
8
|
-
* -
|
|
9
|
-
* - `
|
|
10
|
-
* - `
|
|
8
|
+
* - 'ENABLED': Logs are enabled and will be printed using the standard print function.
|
|
9
|
+
* - `FILE`: Logs are saved to a local file on the device, allowing for later retrieval and analysis.
|
|
10
|
+
* - `CONSOLE`: Logs are output to the system console for real-time monitoring.
|
|
11
|
+
* - `DISABLED`: Disables all logging
|
|
11
12
|
*
|
|
12
13
|
* **Note**: Logging is only supported on iOS. On Android, setting the log mode will throw an error.
|
|
13
14
|
*/
|
|
14
|
-
export const LogMode = z.enum(['
|
|
15
|
+
export const LogMode = z.enum(['ENABLED', 'FILE', 'CONSOLE', 'DISABLED']);
|
|
15
16
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["z","LogMode","enum"],"sourceRoot":"../../../src","sources":["logger/types.ts"],"mappings":";;AAAA,SAASA,CAAC,QAAQ,KAAK;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,OAAO,GAAGD,CAAC,CAACE,IAAI,CAAC,CAAC,
|
|
1
|
+
{"version":3,"names":["z","LogMode","enum"],"sourceRoot":"../../../src","sources":["logger/types.ts"],"mappings":";;AAAA,SAASA,CAAC,QAAQ,KAAK;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,OAAO,GAAGD,CAAC,CAACE,IAAI,CAAC,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC","ignoreList":[]}
|
|
@@ -2,12 +2,13 @@ import { z } from 'zod';
|
|
|
2
2
|
/**
|
|
3
3
|
* Represent the log mode for the CIE SDK
|
|
4
4
|
*
|
|
5
|
-
* -
|
|
6
|
-
* - `
|
|
7
|
-
* - `
|
|
5
|
+
* - 'ENABLED': Logs are enabled and will be printed using the standard print function.
|
|
6
|
+
* - `FILE`: Logs are saved to a local file on the device, allowing for later retrieval and analysis.
|
|
7
|
+
* - `CONSOLE`: Logs are output to the system console for real-time monitoring.
|
|
8
|
+
* - `DISABLED`: Disables all logging
|
|
8
9
|
*
|
|
9
10
|
* **Note**: Logging is only supported on iOS. On Android, setting the log mode will throw an error.
|
|
10
11
|
*/
|
|
11
|
-
export declare const LogMode: z.ZodEnum<["
|
|
12
|
+
export declare const LogMode: z.ZodEnum<["ENABLED", "FILE", "CONSOLE", "DISABLED"]>;
|
|
12
13
|
export type LogMode = z.infer<typeof LogMode>;
|
|
13
14
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/logger/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/logger/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,uDAAqD,CAAC;AAE1E,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC"}
|
package/package.json
CHANGED
package/src/logger/types.ts
CHANGED
|
@@ -3,12 +3,13 @@ import { z } from 'zod';
|
|
|
3
3
|
/**
|
|
4
4
|
* Represent the log mode for the CIE SDK
|
|
5
5
|
*
|
|
6
|
-
* -
|
|
7
|
-
* - `
|
|
8
|
-
* - `
|
|
6
|
+
* - 'ENABLED': Logs are enabled and will be printed using the standard print function.
|
|
7
|
+
* - `FILE`: Logs are saved to a local file on the device, allowing for later retrieval and analysis.
|
|
8
|
+
* - `CONSOLE`: Logs are output to the system console for real-time monitoring.
|
|
9
|
+
* - `DISABLED`: Disables all logging
|
|
9
10
|
*
|
|
10
11
|
* **Note**: Logging is only supported on iOS. On Android, setting the log mode will throw an error.
|
|
11
12
|
*/
|
|
12
|
-
export const LogMode = z.enum(['
|
|
13
|
+
export const LogMode = z.enum(['ENABLED', 'FILE', 'CONSOLE', 'DISABLED']);
|
|
13
14
|
|
|
14
15
|
export type LogMode = z.infer<typeof LogMode>;
|