Ralph Goers created LOG4J2-3322:
-----------------------------------
Summary: Provide StackTraceElements in Log4-Scala macros
Key: LOG4J2-3322
URL: https://issues.apache.org/jira/browse/LOG4J2-3322
Project: Log4j 2
Issue Type: Improvement
Components: Scala API
Reporter: Ralph Goers
My understanding is that the Scala API is made up of macros. If so, if you can
get access to the method name, class name, and line number then the macro can
use Log4j's fluent API to include a StackTraceElement constructed at compile
time. This lowers the cost of including location information to essentially
zero.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)