Pil0tXia commented on issue #4697:
URL: https://github.com/apache/eventmesh/issues/4697#issuecomment-1872543433

   @pandaapo 
   
   I think the encapsulated LogUtils is simpler than the original Fluent 
Logging API.
   
   LogUtils:
   
   ```java
   LogUtil.debug(log, "A time-consuming method: {}", () -> myMethod());
   ```
   
   The original Fluent Logging API:
   
   ```java
   log.atDebug().setMessage("A time-consuming method: {}").addArgument(() -> 
myMethod()).log();
   ```
   
   or:
   
   ```java
   log.atDebug().addArgument(() -> myMethod()).log("A time-consuming method: 
{}");
   ```


-- 
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]

Reply via email to