Make raven.handlers.logging.SentryHandler#_get_targetted_stack accept `record` to be able to process the stack according to the logging message level or other record properties.
Merge pull request #486 from warvariuc/targetted-stack-record

Make raven.handlers.logging.SentryHandler#_get_targetted_stack accept `record`