public interface ContextDataProvider
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
supplyContextData()
Returns a Map containing context data to be injected into the event or null if no context data is to be added.
|
default StringMap |
supplyStringMap()
Returns the context data as a StringMap.
|
Map<String,String> supplyContextData()
default StringMap supplyStringMap()
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.