mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
Deprecate log4j logger method in Plugin
This commit is contained in:
parent
7b57dbf7c0
commit
44efb397fc
1 changed files with 4 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue