- java.lang.Object
-
- java.util.logging.Handler
-
- java.util.logging.StreamHandler
-
- io.helidon.common.HelidonConsoleHandler
-
@Deprecated(since="2.1.1") public class HelidonConsoleHandler extends StreamHandler
Deprecated.use io.helidon.logging.jul.HelidonConsoleHandler from helidon-logging-jul module insteadAStreamHandlerthat writes tostandard outand uses aHelidonConsoleHandler.ThreadFormatterfor formatting. Sets the level toLevel.ALLso that level filtering is performed solely by the loggers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHelidonConsoleHandler.ThreadFormatterDeprecated.ASimpleFormatterthat replaces all occurrences of"!thread!"with the current thread.
-
Constructor Summary
Constructors Constructor Description HelidonConsoleHandler()Deprecated.Creates a newHelidonConsoleHandlerconfigured with: the output stream set toSystem.outthe formatter set to aHelidonConsoleHandler.ThreadFormatterthe level set toLevel.ALL.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.voidpublish(LogRecord record)Deprecated.-
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 Detail
-
HelidonConsoleHandler
public HelidonConsoleHandler()
Deprecated.Creates a newHelidonConsoleHandlerconfigured with:- the output stream set to
System.out - the formatter set to a
HelidonConsoleHandler.ThreadFormatter - the level set to
Level.ALL
- the output stream set to
-
-
Method Detail
-
publish
public void publish(LogRecord record)
Deprecated.- Overrides:
publishin classStreamHandler
-
close
public void close()
Deprecated.- Overrides:
closein classStreamHandler
-
-