public class RavenLoggingHandler extends StreamHandler
OutputStream
. In most cases this handler
will be used to log the events to a log file.Constructor and Description |
---|
RavenLoggingHandler()
Creates a new logging handler which uses the default system output stream and a default formatter.
|
RavenLoggingHandler(OutputStream out)
Creates a new logging handler which uses output stream
out and a default formatter. |
RavenLoggingHandler(OutputStream out,
Formatter formatter)
/**
Creates a new logging handler which uses output stream
out and the formatter
formatter . |
Modifier and Type | Method and Description |
---|---|
void |
publish(LogRecord record) |
close, flush, isLoggable, setEncoding
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, setErrorManager, setFilter, setFormatter, setLevel
public RavenLoggingHandler()
public RavenLoggingHandler(OutputStream out)
out
and a default formatter.out
- the output stream to be usedpublic RavenLoggingHandler(OutputStream out, Formatter formatter)
out
and the formatter
formatter
.out
- the output stream to be usedformatter
- the formatter to be usedpublic void publish(LogRecord record)
publish
in class StreamHandler