@Override
  public boolean isLoggable(LogRecord record) {
    if (pw == null) {
      return (false);
    } else {
      return (super.isLoggable(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