LBF38 / obsidian-syncthing-integration

Obsidian plugin for Syncthing integration
MIT License
182 stars 6 forks source link

[FEATURE] Add a logger for better DX and debugging #74

Open LBF38 opened 1 year ago

LBF38 commented 1 year ago

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 1 year ago

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