de.unkrig.commons.util.logging.handler
Class StreamHandler
java.lang.Object
java.util.logging.Handler
java.util.logging.StreamHandler
de.unkrig.commons.util.logging.handler.AbstractStreamHandler
de.unkrig.commons.util.logging.handler.StreamHandler
public class StreamHandler
- extends AbstractStreamHandler
A log record handler which writes formatted records to an 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)
|
Constructor Summary |
StreamHandler()
No-arg constructor for the LogManager. |
StreamHandler(java.io.OutputStream outputStream,
boolean autoFlush,
java.util.logging.Level level,
java.util.logging.Filter filter,
java.util.logging.Formatter formatter,
java.lang.String encoding)
|
StreamHandler(java.lang.String propertyNamePrefix)
Single-arg constructor to be used by proxies. |
| Methods inherited from class java.util.logging.StreamHandler |
close, flush, isLoggable, setEncoding, setOutputStream |
| Methods inherited from class java.util.logging.Handler |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamHandler
public StreamHandler()
throws ParseException,
EvaluationException
- No-arg constructor for the
LogManager.
- Throws:
ParseException
EvaluationException
StreamHandler
public StreamHandler(@Nullable
java.lang.String propertyNamePrefix)
throws ParseException,
EvaluationException
- Single-arg constructor to be used by proxies.
- Throws:
ParseException
EvaluationException
StreamHandler
public StreamHandler(java.io.OutputStream outputStream,
boolean autoFlush,
java.util.logging.Level level,
java.util.logging.Filter filter,
java.util.logging.Formatter formatter,
java.lang.String encoding)