I am working with a Scala wrapper for Log4j 2's Logger interface. I have some problems with the lifecycle methods entry, exit, throwing and catching.
I am actually wrapping the ExtendedLogger interface (which I believe is how it should be done), and do the actual logging with its methods. But how do I do that with the liftcycle methods? When looking at the implementation of them in AbstractLogger, they use some private message creation methods I don't have access to unless I wrap AbstractLogger (which I believe I should not do). Should I copy and paste the code from AbstractLogger for this? -- [image: MagineTV] *Mikael Ståldal* Senior backend developer *Magine TV* [email protected] Regeringsgatan 25 | 111 53 Stockholm, Sweden | www.magine.com Privileged and/or Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such a person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email.
