3
0
Fork 0

Fixed logger and updated dependencies

This commit is contained in:
thomas 2022-01-08 13:19:48 +01:00
parent 5145feb442
commit 5ce32db5e2
3 changed files with 5 additions and 3 deletions

View file

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>nl.iobyte</groupId> <groupId>nl.iobyte</groupId>
<artifactId>themeparkconnector</artifactId> <artifactId>themeparkconnector</artifactId>
<version>3.0.2</version> <version>3.0.3</version>
<build> <build>
<defaultGoal>clean package</defaultGoal> <defaultGoal>clean package</defaultGoal>
<resources> <resources>

View file

@ -12,7 +12,7 @@
<groupId>nl.iobyte</groupId> <groupId>nl.iobyte</groupId>
<artifactId>themeparkconnector</artifactId> <artifactId>themeparkconnector</artifactId>
<version>3.0.2</version> <version>3.0.3</version>
<repositories> <repositories>
<repository> <repository>

View file

@ -1,5 +1,7 @@
package nl.iobyte.themeparkconnector.logger; package nl.iobyte.themeparkconnector.logger;
import nl.iobyte.themeparkconnector.ThemeParkConnector;
public class ThemeParkConnectorLogger { public class ThemeParkConnectorLogger {
/** /**
@ -7,7 +9,7 @@ public class ThemeParkConnectorLogger {
* @param msg Message string * @param msg Message string
*/ */
public static void toConsole(String msg) { public static void toConsole(String msg) {
System.out.println("[ThemeParkConnector] "+msg); ThemeParkConnector.getInstance().getLogger().info(msg);
} }
} }