java.lang.Object
java.util.logging.Handler
java.util.logging.StreamHandler
io.helidon.logging.jul.HelidonConsoleHandler
A
StreamHandler
that writes to standard out
and uses a HelidonFormatter
for formatting.
Sets the level to Level.ALL
so that level filtering is performed solely by the loggers.-
Constructor Summary
ConstructorDescriptionCreates a newHelidonConsoleHandler
configured with: the output stream set toSystem.out
the formatter set to aHelidonFormatter
the level set toLevel.ALL
. -
Method Summary
Methods inherited from class java.util.logging.StreamHandler
flush, isLoggable, setEncoding, setOutputStream
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
-
Constructor Details
-
HelidonConsoleHandler
public HelidonConsoleHandler()Creates a newHelidonConsoleHandler
configured with:- the output stream set to
System.out
- the formatter set to a
HelidonFormatter
- the level set to
Level.ALL
- the output stream set to
-
-
Method Details
-
publish
- Overrides:
publish
in classStreamHandler
-
close
public void close()- Overrides:
close
in classStreamHandler
-