public class StreamHandler extends AbstractStreamHandler
OutputStream which must be specified through
a ".outputStream" logging property.
Example 'logging.properties' setup:
.handlers = de.unkrig.commons.util.logging.handler.StreamHandler
de.unkrig.commons.util.logging.handler.StreamHandler.outputStream=\
de.unkrig.commons.net.stream.PassiveSocketOutputStream(9999)
DEFAULT_AUTO_FLUSH, DEFAULT_ENCODING, DEFAULT_FILTER, DEFAULT_FORMATTER, DEFAULT_LEVEL| Constructor and Description |
|---|
StreamHandler()
No-arg constructor for the
LogManager. |
StreamHandler(OutputStream outputStream,
boolean autoFlush,
Level level,
Filter filter,
Formatter formatter,
String encoding) |
StreamHandler(String propertyNamePrefix)
Single-arg constructor to be used by proxies.
|
publishclose, flush, isLoggable, setEncoding, setOutputStreamgetEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevelpublic StreamHandler()
throws ParseException,
EvaluationException
LogManager.ParseExceptionEvaluationExceptionpublic StreamHandler(@Nullable
String propertyNamePrefix)
throws ParseException,
EvaluationException
ParseExceptionEvaluationExceptionpublic StreamHandler(OutputStream outputStream, boolean autoFlush, Level level, Filter filter, Formatter formatter, String encoding)
Copyright © 2018 Arno Unkrig. All rights reserved.