public class DefaultJsonLogEnhancer extends Object implements JsonLogEnhancer
| Constructor and Description |
|---|
DefaultJsonLogEnhancer() |
| Modifier and Type | Method and Description |
|---|---|
void |
failed(Map<String,String> context,
Map<String,Object> log,
List<String> alreadyEncodedJsonObjects,
Throwable e) |
int |
getMapPriority()
The ordering of the priority of this processor.
|
void |
map(Map<String,String> context,
Map<String,Object> log,
List<String> alreadyEncodedJsonObjects)
translates information from the context into the log.
|
public int getMapPriority()
JsonLogEnhancergetMapPriority in interface JsonLogEnhancerpublic void map(Map<String,String> context, Map<String,Object> log, List<String> alreadyEncodedJsonObjects)
JsonLogEnhancermap in interface JsonLogEnhancercontext - - the original context (from ConnectContext) - items should be removed as they are consumedlog - - the json object being logged out - this is a MapalreadyEncodedJsonObjects - - json objects that are already encoded and need to be preservedCopyright © 2017. All rights reserved.