Just wondering if there is any logger which will log to "Help>Toggle Development tools".
During development it is fine there is plugin specific console which pop's up. But for normal users who have installed the plugin and want to view and send the logs, is it possible?
1 Like
On desktop it is possible to change the log level to debug, so debug entries will show in the development tools console. So it is fine to log whatever you like with your plugin at debug level
Naa Bro, see only in plugin development console we can see the logs. Its either being disabled or we need to use a some kind of global logger to log in the main dev console.
2 Likes
There's @joplin/utils/Logger (see YesYouKan plugin for an example), but I don't think it allows you to log to the main dev console from a plugin
yes, I have seen it already. But, even that is not logging main dev console.