title: Enable Java Swing logging (key dispatch)
body: <p>I need to debug key event dispatch in a Swing application. I thought the following would be sufficient:</p>
  
  <pre><code>val eventLog = PlatformLogger.getLogger("java.awt.event.Component")
  eventLog.setLevel(PlatformLogger.Level.ALL)
  val focusLog = PlatformLogger.getLogger("java.awt.focus.DefaultKeyboardFocusManager")
  focusLog.setLevel(PlatformLogger.Level.ALL)
  </code></pre>
  
  <p>But nothing happens. (the loggers report they are enabled, but I cannot see any text output). Do I need to configure a <code>PrintStream</code> somewhere to see the log messages?</p>