Closed liran2000 closed 6 months ago
hi @ceki would you be able to review this ?
@liran2000 Thank you for this PR. Have you seen the comments at the top of the Logger class which mention handling of exceptions? Also the handling of a Throwable passed as last argument is expected to be the same for all printing methods, not just error(..,)
@liran2000 Thank you for this PR. Have you seen the comments at the top of the Logger class which mention handling of exceptions? Also the handling of a Throwable passed as last argument is expected to be the same for all printing methods, not just error(..,)
I see now. if references to the FAQ, where it is written, without a full-link. For developers at IDE, commonly looking at the method, it can be less clear, and even if developer had the chance to look at the comments at the top of the Logger class, he then need to search for a link and follow it.
thanks for your response.
It is common action to log an error message with arguments, together with the exception.
With current error method declaration and javadoc, it is hard to tell how to do this.
This PR adds documentation to the method for explaining it.
Example usage: