Fix logging naming inconsistency
This commit is contained in:
parent
eb6f1ff8dc
commit
31b3c9b296
@ -19,14 +19,14 @@ public final class InvTweaksPlugin extends JavaPlugin {
|
|||||||
/**
|
/**
|
||||||
* Plugin logging tag. This should be prepended to any log messages sent by this plugin
|
* Plugin logging tag. This should be prepended to any log messages sent by this plugin
|
||||||
*/
|
*/
|
||||||
public static final String LOG_PLUGIN_NAME = "[InvTweaks]";
|
public static final String LOG_PLUGIN_NAME = "[InventoryTweaks]";
|
||||||
|
|
||||||
private final Logger logger = Bukkit.getLogger();
|
private final Logger logger = Bukkit.getLogger();
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
logger.info(LOG_PLUGIN_NAME + " Plugin enabled");
|
logger.fine(LOG_PLUGIN_NAME + " Plugin enabled");
|
||||||
|
|
||||||
initCommands();
|
initCommands();
|
||||||
initEvents();
|
initEvents();
|
||||||
@ -34,7 +34,7 @@ public final class InvTweaksPlugin extends JavaPlugin {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onDisable() {
|
public void onDisable() {
|
||||||
logger.info(LOG_PLUGIN_NAME + " Plugin disabled");
|
logger.fine(LOG_PLUGIN_NAME + " Plugin disabled");
|
||||||
|
|
||||||
// Un-register all listeners
|
// Un-register all listeners
|
||||||
HandlerList.unregisterAll(this);
|
HandlerList.unregisterAll(this);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user