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.
|
publish
close, flush, isLoggable, setEncoding, setOutputStream
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
public StreamHandler() throws ParseException, EvaluationException
LogManager
.ParseException
EvaluationException
public StreamHandler(@Nullable String propertyNamePrefix) throws ParseException, EvaluationException
ParseException
EvaluationException
public StreamHandler(OutputStream outputStream, boolean autoFlush, Level level, Filter filter, Formatter formatter, String encoding)
Copyright © 2018 Arno Unkrig. All rights reserved.