File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
AnarchyExploitFixesFolia/src/main/java/me/xginko/aef/modules
AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/modules Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -76,9 +76,8 @@ protected static FilteredSLF4JLogger<ComponentLogger> createModuleLogger(String
7676 final String [] splitPath = configPath .split ("\\ ." );
7777 final String loggingPrefix = splitPath .length < 3 ? configPath : splitPath [splitPath .length - 2 ] + "." + splitPath [splitPath .length - 1 ];
7878 return new FilteredSLF4JLogger <>(
79- ComponentLogger .logger (AnarchyExploitFixes .getInstance ().getName () + " # " + loggingPrefix ),
80- filterLevel
81- );
79+ ComponentLogger .logger (AnarchyExploitFixes .getInstance ().getLogger ().getName () + " # " + loggingPrefix ),
80+ filterLevel );
8281 }
8382
8483 public boolean shouldEnable () {
Original file line number Diff line number Diff line change 88import me .xginko .aef .utils .logging .LogLevel ;
99import me .xginko .aef .utils .models .ConditionalEnableable ;
1010import me .xginko .aef .utils .models .Disableable ;
11- import net .kyori .adventure .text .logger .slf4j .ComponentLogger ;
1211import org .reflections .Reflections ;
1312import org .reflections .scanners .Scanners ;
1413import org .slf4j .Logger ;
14+ import org .slf4j .LoggerFactory ;
1515import org .slf4j .event .Level ;
1616
1717import java .lang .reflect .Modifier ;
@@ -77,9 +77,8 @@ protected static FilteredSLF4JLogger<Logger> createModuleLogger(String configPat
7777 final String [] splitPath = configPath .split ("\\ ." );
7878 final String loggingPrefix = splitPath .length < 3 ? configPath : splitPath [splitPath .length - 2 ] + "." + splitPath [splitPath .length - 1 ];
7979 return new FilteredSLF4JLogger <>(
80- ComponentLogger .logger (AnarchyExploitFixes .getInstance ().getName () + " # " + loggingPrefix ),
81- filterLevel
82- );
80+ LoggerFactory .getLogger (AnarchyExploitFixes .getInstance ().getLogger ().getName () + " # " + loggingPrefix ),
81+ filterLevel );
8382 }
8483
8584 public boolean shouldEnable () {
You can’t perform that action at this time.
0 commit comments