If you use Scala, you could use macros.
On 2017-11-27 13:47, Martin Všetička wrote:
Hi,
I use Log4j2 with async logger and includeLocation=true. As the manual
warns, it slows down my application 4 times. Are there any tips how to
obtain location information without runtime performance hit?
*
Hi,
I use Log4j2 with async logger and includeLocation=true. As the manual
warns, it slows down my application 4 times. Are there any tips how to
obtain location information without runtime performance hit?
* I use Java 9 so that Log4j2 can use the stack walking API but it
does not help too much.