Fixed logger and updated dependencies
This commit is contained in:
parent
5145feb442
commit
5ce32db5e2
3 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
|||
package nl.iobyte.themeparkconnector.logger;
|
||||
|
||||
import nl.iobyte.themeparkconnector.ThemeParkConnector;
|
||||
|
||||
public class ThemeParkConnectorLogger {
|
||||
|
||||
/**
|
||||
|
@ -7,7 +9,7 @@ public class ThemeParkConnectorLogger {
|
|||
* @param msg Message string
|
||||
*/
|
||||
public static void toConsole(String msg) {
|
||||
System.out.println("[ThemeParkConnector] "+msg);
|
||||
ThemeParkConnector.getInstance().getLogger().info(msg);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue