LogMappings¶
-
public class
LogMappings
¶ Class used to store data about manipulations on event parameters before persisting logs in the database. LogMapping allows to include, exclude and replace parameters before persisting them in the log.
Constructors¶
LogMappings¶
-
public
LogMappings
(List<KeyValue> mappings, List<String> exclusions, List<String> inclusions)¶ Create an instance of LogMappings using passed parameters
Parameters: - mappings – list of KeyValue mappings
- exclusions – list of parameters to exclude from the log
- inclusions – list of parameters to include in the log
Methods¶
setExclusions¶
setInclusions¶
-
public void
setInclusions
(List<String> inclusions)¶ Sets inclusions to log - if an event contains a parameter key that is included in the inclusions list, that parameter will be persisted in the database log. By default all parameters are included.
Parameters: - inclusions – list of parameters to include in log