Modifier and Type | Field and Description |
---|---|
static String |
ID_KEY
Key to obtain the id of a structured message.
|
static String |
TYPE_KEY
Key to obtain the type of a structured message.
|
Constructor and Description |
---|
StructuredDataLookup() |
Modifier and Type | Method and Description |
---|---|
String |
lookup(LogEvent event,
String key)
Looks up the value for the key using the data in the LogEvent.
|
String |
lookup(String key)
Returns
null . |
public static final String ID_KEY
public static final String TYPE_KEY
Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.