@Override
  public void publish(LogRecord record) {
    Formatter formatter = getFormatter();
    pw.print(formatter.format(record));
  }
Creates a new <code>StreamHandler</code> that exports log records to an
<code>OutputStream</code> in a given format.
geode-core/src/test/java/org/apache/persistence/logging/StreamHandler.java