analogger 1.13.0 → 1.13.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
- # [1.13.0](https://github.com/thimpat/analogger/compare/v1.12.4...v1.13.0) (2022-05-13)
1
+ ## [1.13.1](https://github.com/thimpat/analogger/compare/v1.13.0...v1.13.1) (2022-05-13)
2
2
 
3
+ # [1.13.0](https://github.com/thimpat/analogger/compare/v1.12.4...v1.13.0) (2022-05-13)
4
+
3
5
  ## [1.12.4](https://github.com/thimpat/analogger/compare/v1.12.3...v1.12.4) (2022-05-04)
4
6
 
5
7
  ## [1.12.3](https://github.com/thimpat/analogger/compare/v1.12.2...v1.12.3) (2022-05-04)
package/README.md CHANGED
@@ -151,7 +151,7 @@ Analogger.listSymbols()
151
151
  > ↘ arrow_lower_right
152
152
  > ↙ arrow_lower_left
153
153
  >
154
- >... (And much more)
154
+ >... (And more)
155
155
  >```
156
156
 
157
157
 
@@ -271,7 +271,7 @@ Display the browser native message box if run from it; otherwise, it displays th
271
271
 
272
272
  | **Options** | **default** | **Expect** | **Description** |
273
273
  |------------------|-------------|-----------------------|------------------------------------------------------------------------------------|
274
- | silent | false | boolean | _No log will be displayed (only errors)_ |
274
+ | silent | false | boolean | _Will display no log (only errors)_ |
275
275
  | hideLog | false | boolean | _Hide logs from console_ |
276
276
  | hideError | false | boolean | _Hide errors from console_ |
277
277
  | hideHookMessage | false | boolean | _Hide the automatic message shown when some native console methods are overridden_ |
@@ -337,7 +337,7 @@ Same as above, but for **console.error**.
337
337
 
338
338
  ### removeOverride() | removeOverrideError()
339
339
 
340
- Remove overridden console methods
340
+ Remove overridden console methods.
341
341
 
342
342
  <br/>
343
343
 
@@ -435,7 +435,7 @@ anaLogger.log(LOG_CONTEXTS.C1, `Test Log example C1`); // You will
435
435
  ```
436
436
 
437
437
  To assign the active target, you could use IPs, read a file, read an environment variable, etc.
438
- It is all up to your implement.
438
+ It is all up to your implementation.
439
439
 
440
440
  Examples:
441
441
 
@@ -476,9 +476,8 @@ anaLogger.setActiveTarget(process.env.DEVELOPER); // <= Assuming it has been
476
476
 
477
477
  <br/>
478
478
 
479
- > Note that there are two targets that cannot be overriden: {ALL: "ALL", USER: "USER"}.
480
- They are always added by the system in the allowed list, so even if a call to setTargets is empty,
481
- they will still be set.
479
+ > Note that two targets cannot be overridden: {ALL: "ALL", USER: "USER"}.
480
+ The system always adds them to the allowed list, so they will still be set even if a call to setTargets() is empty.
482
481
 
483
482
  ```javascript
484
483
  // Two implicit targets "ALL" and "USER"
@@ -520,7 +519,7 @@ to them), you can set a handler here. All other console.error will be working as
520
519
  // Detect whether we are in a browser
521
520
  if (context.environnment === anaLogger.ENVIRONMENT_TYPE.BROWSER)
522
521
  {
523
- // When an error is detected in the Browser, the Browser will see this message
522
+ // When the Browser detects an error, users will see this message
524
523
  anaLogger.alert(`Users explicitly see this message`)
525
524
  }
526
525
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "analogger",
3
- "version": "1.13.0",
3
+ "version": "1.13.1",
4
4
  "description": "Js Logger",
5
5
  "main": "./src/cjs/ana-logger.cjs",
6
6
  "module": "./generated/terminal/ana-logger.mjs",