public class JsonEventFormatter extends Object implements EventFormatter
| Modifier and Type | Class and Description |
|---|---|
static class |
JsonEventFormatter.Builder
Builder used to create the
JsonEventFormatter. |
| Modifier and Type | Method and Description |
|---|---|
static JsonEventFormatter.Builder |
builder()
Creates a new builder to build a
JsonEventFormatter. |
String |
format(Event event)
Formats the event into a string.
|
public static JsonEventFormatter.Builder builder()
JsonEventFormatter.public String format(Event event)
EventFormatterformat in interface EventFormatterevent - the event to formatCopyright © 2020 JBoss by Red Hat. All rights reserved.