summary refs log tree commit diff stats
path: root/src/main/java
diff options
context:
space:
mode:
authormodmuss50 <modmuss50@gmail.com>2022-01-19 22:54:09 +0000
committerGitHub <noreply@github.com>2022-01-19 22:54:09 +0000
commit662a7f1b33c046bb8c7a2ae1caf63d3a796b7eb0 (patch)
tree5f56f8899ee2024a29eb11e501e33bac1395e1d3 /src/main/java
parent4d8fff9ec6695b7d9a54a23e2efc1c47dce20ef3 (diff)
Migrate to SLF4J (#157)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/net/fabricmc/example/ExampleMod.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/net/fabricmc/example/ExampleMod.java b/src/main/java/net/fabricmc/example/ExampleMod.java
index ad43b69..a964189 100644
--- a/src/main/java/net/fabricmc/example/ExampleMod.java
+++ b/src/main/java/net/fabricmc/example/ExampleMod.java
@@ -1,14 +1,14 @@
 package net.fabricmc.example;
 
 import net.fabricmc.api.ModInitializer;
-import org.apache.logging.log4j.LogManager;
-import org.apache.logging.log4j.Logger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 public class ExampleMod implements ModInitializer {
 	// This logger is used to write text to the console and the log file.
 	// It is considered best practice to use your mod id as the logger's name.
 	// That way, it's clear which mod wrote info, warnings, and errors.
-	public static final Logger LOGGER = LogManager.getLogger("modid");
+	public static final Logger LOGGER = LoggerFactory.getLogger("modid");
 
 	@Override
 	public void onInitialize() {