ppkarwasz commented on PR #2175:
URL: https://github.com/apache/logging-log4j2/pull/2175#issuecomment-1884553673

   We discussed this many times and we can **not** do it, because of binary 
compatibility.
   
   Users of `log4j-api` 3.x will still use libraries compiled against 
`log4j-api` 2.x.
   
   What we **can** do is to create a `v3.Logger` interface like:
   
   ```java
   public interface Logger {
       public void debug(java.util.function.Supplier<?>);
       ...
   }
   ```
   
   and let the old interface extend it:
   
   ```java
   public interface Logger extends org.apache.logging.log4j.v3.Logger {
       public void debug(org.apache.logging.log4j.util.Supplier<?>);
       ...
   }
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to