diff --git a/patches/api/Allow-plugins-to-use-SLF4J-for-logging.patch b/patches/api/Allow-plugins-to-use-SLF4J-for-logging.patch index 32ba41969b..bf2948c696 100644 --- a/patches/api/Allow-plugins-to-use-SLF4J-for-logging.patch +++ b/patches/api/Allow-plugins-to-use-SLF4J-for-logging.patch @@ -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());