- Source:
Methods
-
createMiddleware(getRavenClient [, options])
-
Creates a middleware to save redux actions as raven breadcrumbs
Parameters:
Name Type Argument Description getRavenClientfunction Retrieve the raven client (that is saved at a later time)
optionsobject <optional>
Customize extra data sent to sentry
Properties
Name Type Argument Description actionTransformerfunction <optional>
Transform the action object to send; default to identity function
stateTransformerfunction <optional>
Transform the action state to send; default to identity function
loggerfunction <optional>
The logger to use for logging; default to console.error
- Source:
Returns:
- Type
- function
-
transformStateKeysToCapture(state)
-
Only copy the keys from the config over from the state
Parameters:
Name Type Description state- Source: