|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The kind of InputStream
to wrap and read.public interface LogEventBridge<T extends InputStream>
Reads LogEvent
s from the given input stream and logs them as they are discovered on the given logger.
Should be stateless.
Method Summary | |
---|---|
void |
logEvents(T inputStream,
LogEventListener logEventListener)
Reads LogEvent s from the given input stream and logs them as they are discovered on the given logger. |
T |
wrapStream(InputStream inputStream)
Wraps the given stream if needed. |
Method Detail |
---|
void logEvents(T inputStream, LogEventListener logEventListener) throws IOException
LogEvent
s from the given input stream and logs them as they are discovered on the given logger.
inputStream
- the input stream to readlogEventListener
- TODO
IOException
T wrapStream(InputStream inputStream) throws IOException
inputStream
- the stream to wrap
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.