LBF38/obsidian-syncthing-integration

[FEATURE] Add a logger for better DX and debugging

Opened this issue · 1 comments

LBF38 commented

Is your feature request related to a problem? Please describe.
It is hard to debug when don't have enough information about what I'm manipulating.

Describe the solution you'd like
It would be great to have a logger so that I can see what I'm manipulating in the plugin.

Describe alternatives you've considered
Using the DevTools console and making random console.log/console.error in the code.

Additional context
Useful links for debugging :

It could be a good idea to implement/integrate a full logger for my plugin ? (using some lib or others).

LBF38 commented

Resource for unloading a command in Obsidian : Liam Cain - Unload a Command