Closed MzrW closed 7 months ago
@MzrW Thank you for reporting this issue and the accompanying PR.
I have made several changes inspired by your PR without merging it. Please provide your full name so that you can be given credit.
In any case, the issue is fixed in commit 3386517ad6 part of slf4j version 2.0.13 released today.
@ceki Thank you for the fix, I could verify it's working properly. My full name is Moritz Waser.
fixed in version 2.0.13
I added your name in https://www.slf4j.org/news.html#2.0.13
By the way, compliments on your PR. Excellent work.
thank you :)
I am using the kotlin-logging library which is basically a wrapper around slf4j tailored for kotlin. (Original issue kotlin-logging-416).
When logging using the LoggingEventBuilder and setting the CallerBoundary accordingly it prints the wrong classname.
Running the given example I expect the following output:
However following is printed:
Checkout the example: example.zip