Added a way to log plugin error using the same logger than the bot