io.sarl.sre.janus.services.logging.jul
Class JulOutputStreamConsoleHandler
All Known Subclasses:
JulStandardErrorOutputConsoleHandler, JulStandardOutputConsoleHandler
class JulOutputStreamConsoleHandler
extends java.lang.Object
A console handler that supports to be link to the standard output or the standard error output.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.6.0
Constructor Summary
Constructor and description
new(PrintStream,[Formatter])
Constructor.
Action Summary
Modifier and type Action and description
boolean isLoggable(LogRecord)
protected boolean isLoggableRecord(Level)
Replies if the given log level is loggable.
void publish(LogRecord)
Constructor Details
new(PrintStream,[Formatter])
new(PrintStream,[Formatter])
Constructor.
Parameters:
stream - the original stream.
Action Details
isLoggable(LogRecord)
def isLoggable(LogRecord) : boolean
isLoggableRecord(Level)
protected def isLoggableRecord(Level) : boolean
Replies if the given log level is loggable.
Parameters:
recordLevel - the level to test.
Returns:
true if loggable level.
publish(LogRecord)
def publish(LogRecord)