v1.2.1 stackoverflow error is not good

This commit is contained in:
Klemek
2018-08-30 16:37:51 +01:00
parent 1dbc0b7b51
commit 55aab91887
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -167,8 +167,8 @@ public final class Logger {
*/
private static void log(int depth, Level lvl, String message, Object... objects) {
if(!initialized) {
Logger.log(Level.WARNING, "Logger was not initialized please do so before using.");
initialized = true;
Logger.log(Level.WARNING, "Logger was not initialized please do so before using.");
}
message = String.format("[%s-%s] %s", appName, Utils.getCallingClassName(depth), message);
appLogger.log(lvl, message, objects);