public interface Filter
Modifier and Type | Method and Description |
---|---|
boolean |
postProcess(com.rollbar.api.payload.data.Data data)
Post-filter hook to decide once the final payload is ready if it should be send to Rollbar.
|
boolean |
preProcess(com.rollbar.api.payload.data.Level level,
java.lang.Throwable error,
java.util.Map<java.lang.String,java.lang.Object> custom,
java.lang.String description)
Pre-filter hook to decide before gathering information and transforming the data if it is
susceptible of it.
|
boolean preProcess(com.rollbar.api.payload.data.Level level, java.lang.Throwable error, java.util.Map<java.lang.String,java.lang.Object> custom, java.lang.String description)
level
- the levelerror
- the error.custom
- the custom data.description
- the description.boolean postProcess(com.rollbar.api.payload.data.Data data)
data
- the data.