@xh/hoist 79.0.0-SNAPSHOT.1764799476521 → 79.0.0-SNAPSHOT.1764802964843

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,6 +1,8 @@
1
1
  # Changelog
2
2
 
3
- ## 78.1.1 - 2025-12-03
3
+ ## 79.0.0-SNAPSHOT - unreleased
4
+
5
+ ## 78.1.2 - 2025-12-03
4
6
 
5
7
  ### 🐞 Bug Fixes
6
8
  * Fix to Highchart timezone handling regression from version 77. Applications should note that
@@ -11,8 +13,6 @@
11
13
 
12
14
  * Allow cross-tab persistence of client log levels
13
15
 
14
-
15
-
16
16
  ## 78.1.0 - 2025-12-02
17
17
 
18
18
  ### ⚙️ Technical
@@ -185,12 +185,17 @@ export declare class XHApi {
185
185
  */
186
186
  get logLevel(): LogLevel;
187
187
  /**
188
- * Set the minimum severity for Hoist log utils until the page is refreshed. Optionally persist
189
- * this adjustment for up to 1440 minutes in local storage.
190
- *
191
- * Hint: call this method from the console to adjust your app's log level while troubleshooting.
188
+ * Set the minimum severity for Hoist log utils.
189
+ * Optionally persist this adjustment for up to 1440 minutes in local storage.
192
190
  */
193
191
  setLogLevel(level: LogLevel, persistMins?: number): void;
192
+ /**
193
+ * Short cut to enable client-side logging at level `debug`.
194
+ * Optionally persist this adjustment for up to 1440 minutes in local storage.
195
+ *
196
+ * Hint: call this method from the console to show more verbose data while troubleshooting.
197
+ */
198
+ enableDebugLogging(persistMins?: number): void;
194
199
  /**
195
200
  * Main entry point to start the client app - initializes and renders application code.
196
201
  * Call from the app's entry-point file within your project's `/client-app/src/apps/` folder.
package/core/XH.ts CHANGED
@@ -370,15 +370,23 @@ export class XHApi {
370
370
  }
371
371
 
372
372
  /**
373
- * Set the minimum severity for Hoist log utils until the page is refreshed. Optionally persist
374
- * this adjustment for up to 1440 minutes in local storage.
375
- *
376
- * Hint: call this method from the console to adjust your app's log level while troubleshooting.
373
+ * Set the minimum severity for Hoist log utils.
374
+ * Optionally persist this adjustment for up to 1440 minutes in local storage.
377
375
  */
378
376
  setLogLevel(level: LogLevel, persistMins: number = -1) {
379
377
  setLogLevel(level, persistMins);
380
378
  }
381
379
 
380
+ /**
381
+ * Short cut to enable client-side logging at level `debug`.
382
+ * Optionally persist this adjustment for up to 1440 minutes in local storage.
383
+ *
384
+ * Hint: call this method from the console to show more verbose data while troubleshooting.
385
+ */
386
+ enableDebugLogging(persistMins: number = -1) {
387
+ setLogLevel('debug', persistMins);
388
+ }
389
+
382
390
  //----------------------
383
391
  // App lifecycle support
384
392
  //----------------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "79.0.0-SNAPSHOT.1764799476521",
3
+ "version": "79.0.0-SNAPSHOT.1764802964843",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",