[ https://issues.apache.org/jira/browse/LOG4J2-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14986960#comment-14986960 ]
Mikael Ståldal commented on LOG4J2-1181: ---------------------------------------- It is called {{Logging}} since it is used in another way. I guess we need some example how to use it: {code} class MyClass extends Logging { def doStuff(): Unit = { logger.info("doing stuff") } } {code} or {code} class MyClass extends OtherClass with Logging { def doStuff(): Unit = { logger.info("doing stuff") } } {code} > 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 > 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: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org