mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-11 23:07:32 +00:00
move logger creation here for uniform naming
This commit is contained in:
1 file changed
+5
@@ -2,6 +2,7 @@ package com.falsepattern.lib.mixin;
|
||||
|
||||
import lombok.val;
|
||||
import net.minecraft.launchwrapper.Launch;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.spongepowered.asm.lib.tree.ClassNode;
|
||||
import org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin;
|
||||
@@ -26,6 +27,10 @@ public interface IMixinPlugin extends IMixinConfigPlugin {
|
||||
ITargetedMod[] getTargetedModEnumValues();
|
||||
IMixin[] getMixinEnumValues();
|
||||
|
||||
static Logger createLogger(String modName) {
|
||||
return LogManager.getLogger(modName + " Mixin Loader");
|
||||
}
|
||||
|
||||
@Override
|
||||
default void onLoad(String mixinPackage) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user