2016-03-28 20:55:47 -04:00
|
|
|
--- a/com/mojang/logging/LogUtils.java
|
|
|
|
+++ b/com/mojang/logging/LogUtils.java
|
2025-04-12 17:26:44 +02:00
|
|
|
@@ -61,4 +_,10 @@
|
2016-03-28 20:55:47 -04:00
|
|
|
public static Logger getLogger() {
|
|
|
|
return LoggerFactory.getLogger(STACK_WALKER.getCallerClass());
|
|
|
|
}
|
2025-04-12 17:26:44 +02:00
|
|
|
+
|
2016-03-28 20:55:47 -04:00
|
|
|
+ // Paper start
|
|
|
|
+ public static Logger getClassLogger() {
|
|
|
|
+ return LoggerFactory.getLogger(STACK_WALKER.getCallerClass().getSimpleName());
|
|
|
|
+ }
|
|
|
|
+ // Paper end
|
|
|
|
}
|