Makes the stargate logger private

This commit is contained in:
2021-10-23 14:25:46 +02:00
parent 7cc8685e26
commit deba2e5c2c
14 changed files with 60 additions and 41 deletions

View File

@ -64,7 +64,7 @@ public class Stargate extends JavaPlugin {
private static final int activeTime = 10;
private static final int openTime = 10;
public static Logger logger;
private static Logger logger;
public static Server server;
public static Stargate stargate;
public static LanguageLoader languageLoader;
@ -172,6 +172,15 @@ public class Stargate extends JavaPlugin {
return activeTime;
}
/**
* Gets the logger used for logging to the console
*
* @return <p>The logger</p>
*/
public static Logger getConsoleLogger() {
return logger;
}
/**
* Sends a debug message
*