rubocop:disable ModuleLength
VERSION | = | '0.10.0'.freeze |
Set conditions for events that should be ignored
Currently supported formats are:
- A single string representing a controller action, e.g. 'UsersController#sign_in' - An array of strings representing controller actions - An object that responds to call with an event argument and returns true iff the event should be ignored.
The action ignores are given to ‘ignore_actions’. The callable ignores are given to ‘ignore’. Both methods can be called multiple times, which just adds more ignore conditions to a list that is checked before logging.