Package | Description |
---|---|
org.jboss.logmanager.formatters |
Modifier and Type | Method and Description |
---|---|
default StructuredFormatter.Generator |
StructuredFormatter.Generator.add(String key,
int value)
Writes an integer value.
|
default StructuredFormatter.Generator |
StructuredFormatter.Generator.add(String key,
long value)
Writes a long value.
|
StructuredFormatter.Generator |
StructuredFormatter.Generator.add(String key,
Map<String,?> value)
Writes a map value
|
StructuredFormatter.Generator |
StructuredFormatter.Generator.add(String key,
String value)
Writes a string value.
|
default StructuredFormatter.Generator |
StructuredFormatter.Generator.addAttribute(String name,
int value)
Writes an attribute.
|
default StructuredFormatter.Generator |
StructuredFormatter.Generator.addAttribute(String name,
String value)
Writes an attribute.
|
default StructuredFormatter.Generator |
StructuredFormatter.Generator.addMetaData(Map<String,String> metaData)
Adds the meta data to the structured format.
|
default StructuredFormatter.Generator |
StructuredFormatter.Generator.begin()
Initial method invoked at the start of the generation.
|
protected StructuredFormatter.Generator |
JsonFormatter.createGenerator(Writer writer) |
protected StructuredFormatter.Generator |
XmlFormatter.createGenerator(Writer writer) |
protected abstract StructuredFormatter.Generator |
StructuredFormatter.createGenerator(Writer writer)
Creates the generator used to create the structured data.
|
StructuredFormatter.Generator |
StructuredFormatter.Generator.end()
Writes any trailing data that's needed.
|
default StructuredFormatter.Generator |
StructuredFormatter.Generator.endArray()
Writes an end for an array.
|
StructuredFormatter.Generator |
StructuredFormatter.Generator.endObject()
Writes an end to the object.
|
default StructuredFormatter.Generator |
StructuredFormatter.Generator.startArray(String key)
Writes the start of an array.
|
StructuredFormatter.Generator |
StructuredFormatter.Generator.startObject(String key)
Writes the start of an object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
StructuredFormatter.after(StructuredFormatter.Generator generator,
ExtLogRecord record)
Invoked after the structured data has been added to the generator.
|
protected void |
StructuredFormatter.before(StructuredFormatter.Generator generator,
ExtLogRecord record)
Invoked before the structured data is added to the generator.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.