protected static class LogDivertAppender.StringOutputStreamManager
extends org.apache.logging.log4j.core.appender.OutputStreamManager
Modifier | Constructor and Description |
---|---|
protected |
StringOutputStreamManager(ByteArrayOutputStream os,
String streamName,
org.apache.logging.log4j.core.Layout<?> layout) |
Modifier and Type | Method and Description |
---|---|
ByteArrayOutputStream |
getStream() |
void |
reset() |
close, drain, flush, flushBuffer, flushDestination, getByteBuffer, getManager, getOutputStream, isOpen, releaseSub, setOutputStream, skipFooter, write, write, write, write, writeFooter, writeToDestination
protected StringOutputStreamManager(ByteArrayOutputStream os, String streamName, org.apache.logging.log4j.core.Layout<?> layout)
public ByteArrayOutputStream getStream()
public void reset()
Copyright © 2017 The Apache Software Foundation. All rights reserved.