Pil0tXia commented on issue #4697:
URL: https://github.com/apache/eventmesh/issues/4697#issuecomment-1872571958
@ppkarwasz I noticed that both Slf4j and Log4j2 don't support `void
debug(String, Supplier<?>, Throwable);`, which means I can't write like this:
```java
try {
......
} catch (Exception e) {
log.debug("A time-consuming method: {}", () -> myMethod(), e);
}
```
If encapsulation is still needed, I may prefer to continue using Slf4j.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]