title: Get just groovy class name in logback
body: <p>I have an encoder in my logback.groovy file that looks like this</p>
  
  <pre><code>encoder(PatternLayoutEncoder) { pattern = "%d{yyyy/MM/dd HH:mm:ss} %-5p %class{0} - %m%n" }
  </code></pre>
  
  <p>Which works as expected, except in my groovy classes I often get something like this</p>
  
  <pre><code>2017/03/26 10:29:00 INFO  FilesService$_run_closure7 - blahbahblah
  </code></pre>
  
  <p>How can I tell my encoder "Just get the classname, drop the $_run_closure"? </p>