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

   > @pandaapo I've just wrote a Javadoc:
   > 
   > 
![image](https://private-user-images.githubusercontent.com/41445332/293463498-5c9585c8-8a82-4af5-9328-0c6c5d6452ec.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDM5NDQzNjksIm5iZiI6MTcwMzk0NDA2OSwicGF0aCI6Ii80MTQ0NTMzMi8yOTM0NjM0OTgtNWM5NTg1YzgtOGE4Mi00YWY1LTkzMjgtMGM2YzVkNjQ1MmVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyMzEyMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjMwVDEzNDc0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRiNjA5OWRlOTJkNmEzZjExOWYyOWQ5YzhhNDBhMzI1YWJjZjdiODY3NGE5NmM0YTg4ZjAzY2U4MzVkY2M1OTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.B1dIpl-PDV2XK5l4XGnDN79jSebGOQYVpd27Y7E4cyc)
   
   Your `LogUtis.debug(log, "xxx{}", () -> myMethod())` will use the Fluent 
Logging API that is considerably **slow** compared to the classic API. This may 
not necessarily bring more benefits than not delaying the execution of 
`myMethod()`. 
   Moreover, in most cases, passed `myMethod()` to the logger API is not 
time-consuming.


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