The answer would be the same for any Java code base that allows plugins via Class.forName(). This is question is not unique to Log4j as it does not know of anything else but the JRE and third party jars. I imagine the Scala code would have to make allowances for being instantiated from a POJO...
Gary On Tue, Apr 7, 2015 at 8:38 AM, Mikael Ståldal <[email protected]> wrote: > Is it possible to write a Log4j 2 plugin in Scala? > > Using Log4j 2.2. > > -- > [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. > -- E-Mail: [email protected] | [email protected] Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
