feat: allow format directly into log
This commit is contained in:
parent
ef1b212fd1
commit
fa10646d8f
1 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,10 @@ public class Boscovicino implements ICommons {
|
||||||
MinecraftForge.EVENT_BUS.register(this);
|
MinecraftForge.EVENT_BUS.register(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void log(String message, Object... args) {
|
||||||
|
log(String.format(message, args));
|
||||||
|
}
|
||||||
|
|
||||||
public static void log(String message) {
|
public static void log(String message) {
|
||||||
LOGGER.info(message);
|
LOGGER.info(message);
|
||||||
if (MC.player != null) {
|
if (MC.player != null) {
|
||||||
|
|
Loading…
Reference in a new issue