Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-NRCan committed Feb 28, 2024
1 parent 298e196 commit 67d2dbe
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 10 deletions.
6 changes: 3 additions & 3 deletions cgpv-main.js

Large diffs are not rendered by default.

Binary file modified cgpv-main.js.br
Binary file not shown.
2 changes: 1 addition & 1 deletion cgpv-main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion corePackages/geoview-basemap-panel.js

Large diffs are not rendered by default.

Binary file modified corePackages/geoview-basemap-panel.js.br
Binary file not shown.
2 changes: 1 addition & 1 deletion corePackages/geoview-geochart.js

Large diffs are not rendered by default.

Binary file modified corePackages/geoview-geochart.js.br
Binary file not shown.
2 changes: 1 addition & 1 deletion corePackages/geoview-layers-panel.js

Large diffs are not rendered by default.

Binary file modified corePackages/geoview-layers-panel.js.br
Binary file not shown.
2 changes: 1 addition & 1 deletion corePackages/geoview-swiper.js

Large diffs are not rendered by default.

Binary file modified corePackages/geoview-swiper.js.br
Binary file not shown.
2 changes: 1 addition & 1 deletion corePackages/geoview-time-slider.js

Large diffs are not rendered by default.

Binary file modified corePackages/geoview-time-slider.js.br
Binary file not shown.
7 changes: 6 additions & 1 deletion docs/programming/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ Typically, to debug an application, the developer should use `logger.logDebug()`

A neat feature of the `logger` is the possibility to log using timing markers. Call `logMarkerStart` to start a timer using a key and then call `logMarkerCheck` and provide the same key to log the time span between 'now' and the 'start' time.

Another neat feature of the `logger` is the possibility to track objects and log when they changed. Call `logTrackerStart` to start an interval timer which constantly tracks object value. Remember to call `logTrackerStop` to stop tracking.
Another neat feature of the `logger` is the possibility to track an object and log when they changed or whenever we want. Call `logTrackerStart` to start an interval timer which constantly checks object value. Below is an example of how to call it.:
```ts
let toto = 1;
logger.logTrackerStart('test', () => toto);
```
Remember to call `logTrackerStop` to stop tracking.

## Characteristics to know when using `useWhatChanged` ##

Expand Down

0 comments on commit 67d2dbe

Please sign in to comment.