mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-11 07:57:45 +00:00
externalize log
This commit is contained in:
20 files changed
+78
-52
No files matched your search
@@ -22,8 +22,6 @@ package com.falsepattern.lib.internal;
|
||||
|
||||
import com.falsepattern.lib.internal.proxy.CommonProxy;
|
||||
import lombok.Getter;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
|
||||
import net.minecraft.launchwrapper.Launch;
|
||||
import cpw.mods.fml.common.Mod;
|
||||
@@ -48,9 +46,6 @@ public class FalsePatternLib {
|
||||
public static final String UPDATE_URL = "https://falsepattern.com/mc/versions.json";
|
||||
public static final SimpleNetworkWrapper NETWORK = NetworkRegistry.INSTANCE.newSimpleChannel(Tags.MODID);
|
||||
|
||||
@Getter
|
||||
private static final Logger log = LogManager.getLogger(Tags.MODNAME);
|
||||
|
||||
@Getter
|
||||
private static final boolean developerEnvironment = (boolean) Launch.blackboard.get("fml.deobfuscatedEnvironment");
|
||||
|
||||
@@ -59,7 +54,7 @@ public class FalsePatternLib {
|
||||
private static CommonProxy proxy;
|
||||
|
||||
public FalsePatternLib() {
|
||||
log.info("Version " + Tags.VERSION + " initialized!");
|
||||
Share.LOG.info("Version " + Tags.VERSION + " initialized!");
|
||||
}
|
||||
|
||||
@Mod.EventHandler
|
||||
|
||||
Reference in new issue
Block a user