13
0
geforkt von Mirrors/Paper

Deprecate log4j logger method in Plugin

Dieser Commit ist enthalten in:
Riley Park 2022-01-19 18:39:08 -08:00
Ursprung 7b57dbf7c0
Commit 44efb397fc

Datei anzeigen

@ -40,6 +40,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ return org.slf4j.LoggerFactory.getLogger(getLogger().getName());
+ }
+
+ /**
+ * @deprecated use {@link #getSLF4JLogger()}
+ */
+ @Deprecated
+ @NotNull
+ default org.apache.logging.log4j.Logger getLog4JLogger() {
+ return org.apache.logging.log4j.LogManager.getLogger(getLogger().getName());