[
https://issues.apache.org/jira/browse/LOG4J2-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15350655#comment-15350655
]
Mikael Ståldal commented on LOG4J2-1181:
----------------------------------------
Implementing support for parametrized messages is tricky in Scala since
Scala cannot properly handle the var-args overloads in {{Logger}} and
{{MessageFactory}}.
Given that you can use string interpolations, how important is it to be
able to use Log4j parameters?
https://github.com/apache/logging-log4j2/blob/LOG4J-1181/src/site/xdoc/manual/scala-api.xml
> Scala wrapper for Log4j 2 API
> -----------------------------
>
> Key: LOG4J2-1181
> URL: https://issues.apache.org/jira/browse/LOG4J2-1181
> Project: Log4j 2
> Issue Type: New Feature
> Components: API
> Affects Versions: 2.4.1, 2.5, 2.6, 2.6.1
> Reporter: Mikael Ståldal
>
> Scala wrapper for Log4j 2 API which makes use of Scala features like macros
> and string interpolation.
> Inspired from [Typesafe's Scala
> Logging|https://github.com/typesafehub/scala-logging] but should use Log4j 2
> directly and expose its features.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]