summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author alemi <me@alemi.dev>2023-03-18 22:09:22 +0100
committer alemi <me@alemi.dev>2023-03-18 22:09:22 +0100
commitfa10646d8f2694f03ad861cafff55651592a02a2 (patch)
treeca018abccde54f1be111f142061362d901296907
parentef1b212fd12e7260c9320259870f7233fd4eb931 (diff)
feat: allow format directly into log
-rw-r--r--src/main/java/ftbsc/bscv/Boscovicino.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/bscv/Boscovicino.java b/src/main/java/ftbsc/bscv/Boscovicino.java
index 90dc5b4..65c5830 100644
--- a/src/main/java/ftbsc/bscv/Boscovicino.java
+++ b/src/main/java/ftbsc/bscv/Boscovicino.java
@@ -66,6 +66,10 @@ public class Boscovicino implements ICommons {
MinecraftForge.EVENT_BUS.register(this);
}
+ public static void log(String message, Object... args) {
+ log(String.format(message, args));
+ }
+
public static void log(String message) {
LOGGER.info(message);
if (MC.player != null) {