rocketraman commented on issue #71:
URL: 
https://github.com/apache/logging-log4j-kotlin/issues/71#issuecomment-1998067762

   I think the ideal solution for this would look something like this, and 
could leverage the solution we come up with for 
https://github.com/apache/logging-log4j-kotlin/issues/36:
   
   ```
   class R {
     val log = logger().withContext(...)
   
     fun doSomethingOnResource() {
       log.info { "foo" }
     }
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to