From fac2a476316869db1a8a7da71815caad48397f9b Mon Sep 17 00:00:00 2001 From: 7orivorian <7orivorian+github@gmail.com> Date: Wed, 18 Oct 2023 00:28:43 -0400 Subject: [PATCH] Removed logger from EventBus.java as it was causing more issues than it solved. Signed-off-by: 7orivorian <7orivorian+github@gmail.com> --- src/main/java/me/tori/wraith/bus/EventBus.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main/java/me/tori/wraith/bus/EventBus.java b/src/main/java/me/tori/wraith/bus/EventBus.java index 76bc234..b806b3f 100644 --- a/src/main/java/me/tori/wraith/bus/EventBus.java +++ b/src/main/java/me/tori/wraith/bus/EventBus.java @@ -6,13 +6,10 @@ import me.tori.wraith.subscriber.ISubscriber; import me.tori.wraith.task.ScheduledTask; import me.tori.wraith.task.TaskExecutor; -import org.jetbrains.annotations.ApiStatus; import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.CopyOnWriteArrayList; -import java.util.logging.LogManager; -import java.util.logging.Logger; /** * Default implementation of {@link IEventBus}, {@link TargetableEventBus}, and {@link InvertableEventBus}. @@ -25,9 +22,6 @@ @SuppressWarnings({"rawtypes", "unchecked"}) public class EventBus implements TargetableEventBus, InvertableEventBus { - @ApiStatus.Internal - private static final Logger LOGGER = LogManager.getLogManager().getLogger("Wraith/EventBus"); - /** * The amount of {@linkplain EventBus} instances that have been created */ @@ -366,7 +360,6 @@ public void clearTaskExecutor() { */ @Override public void shutdown() { - LOGGER.warning("EventBus " + id + " shutting down! Future events will not be dispatched."); shutdown = true; }