public class JulOutputStreamConsoleHandler extends StreamHandler
Constructor and Description |
---|
JulOutputStreamConsoleHandler(stream : PrintStream,
[formatter : Formatter])
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLoggable(record : LogRecord) |
protected boolean |
isLoggableRecord(recordLevel : Level)
Replies if the given log level is loggable.
|
void |
publish(record : LogRecord) |
close, flush, setEncoding, setOutputStream
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
public new
(stream : PrintStream,
[formatter : Formatter])
stream
- the original stream.public def
publish(record : LogRecord) : void
publish
in class StreamHandler
@Pure
protected def
isLoggableRecord(recordLevel : Level) : boolean
JulOutputStreamConsoleHandler
recordLevel
- the level to test.true
if loggable level.public def
isLoggable(record : LogRecord) : boolean
isLoggable
in class StreamHandler
Copyright © 2021 the original authors or authors.