# Uses of Interface
org.jboss.logmanager.formatters.StructuredFormatter.Generator

Packages that use StructuredFormatter.Generator
Package
Description
org.jboss.logmanager.formatters

## Uses of StructuredFormatter.Generator in org.jboss.logmanager.formatters

Methods in org.jboss.logmanager.formatters that return StructuredFormatter.Generator
Modifier and Type
Method
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, String value)`
Writes a string value.
`StructuredFormatter.Generator`
StructuredFormatter.Generator.`add(String key, Map<String,?> value)`
Writes a map 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 abstract StructuredFormatter.Generator`
StructuredFormatter.`createGenerator(Writer writer)`
Creates the generator used to create the structured data.
`protected StructuredFormatter.Generator`
XmlFormatter.`createGenerator(Writer writer)`
`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.
Methods in org.jboss.logmanager.formatters with parameters of type StructuredFormatter.Generator
Modifier and Type
Method
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.