console logs from plugins are mixed and hard to debug
Check for existing issues
- [x] Completed
Describe the feature
the system console with erudu plugin shows logs from the core app and all plugins together
there is no label to show which plugin or system part created a log, warning, or error
when many plugins are installed, it becomes very hard to debug plugins or track problems
add something like acode.console.log() for plugins templates or something
logger can automatically add a short plugin name before the log, so we know where it comes from
This makes debugging easier for plugin developers and users
If applicable, add mockups / screenshots to help present your vision of the feature
acode.console.log("plugin loaded");
output
[ Plugin name ] plugin loaded
also for logging errors and warning 🙏
You can just use a console log wrapper like:
acode.console = {
log: function (...args) {
console.log("[MyPlugin]", ...args);
}
};
// then you can do
acode.console.log("hello world");
@RohitKushvaha01 i wanted to see maybe if you guys can make this mandatory for all plugin devs
not for the devs themselves but for users so users can see which plugin logged an error or debug and know who to issue to thanks 🙏