Vault

Vault

7M Downloads

The "Minecraft" logger is used in some classes

DoNotSpamPls opened this issue ยท 3 comments

commented

Using loggers that aren't the plugin's (for example by using this.getLogger() in the main class) is frowned upon, since it causes a variety of little issues in some cases. Unless it's not required by some restriction or issue, you shouldn't use the Minecraft logger in the API classes.

commented

this.getLogger() returns the plugin logger according to the API documentation. What issue are you seeing when using the plugin logger?

commented

Yes, that's fine, but in some classes the "Minecraft" logger is used instead

commented

@DoNotSpamPls okay, your initial comment was a bit confusing since it was calling out this.getLogger() as problematic.