Skip to content

Tomo: Added loging in components

Valentin Valls requested to merge tomo-debug into master

This MR added some logging to tomo components, in order to be able to diagnose something in production.

Many things could go wrong. It is important to know why something is not displayed.

This allow to enlable the logs only when it's needed, with for example:

localStorage.debug = 'daiquiri.components.tomo.*'

Screenshot_from_2022-05-20_13-26-44

The next step is always use this logging, instead of console.log/error..., in order to no pollute the console.

Edited by Valentin Valls

Merge request reports

Loading