- java.lang.Object
-
- java.util.logging.Formatter
-
- java.util.logging.SimpleFormatter
-
- io.helidon.logging.jul.HelidonFormatter
-
public class HelidonFormatter extends SimpleFormatter
ASimpleFormatter
that replaces all occurrences of MDC tags like%X{value}
with specific values. It also supports replacement of"!thread!"
with the current thread.
-
-
Constructor Summary
Constructors Constructor Description HelidonFormatter()
Create new instance of theHelidonFormatter
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
format(LogRecord record)
-
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
-
-
-
-
Constructor Detail
-
HelidonFormatter
public HelidonFormatter()
Create new instance of theHelidonFormatter
.
-
-
Method Detail
-
format
public String format(LogRecord record)
- Overrides:
format
in classSimpleFormatter
-
-