Cosimo Lupo 9528717f6e
[loggingTools] add 'match' method to CapturingLogHandler
Can be useful for writing tests:

>>> with CapturingLogHandler(log, "WARNING") as captor:
...     # do something with logging
>>> assert captor.match('some .* pattern')
2017-04-10 19:47:48 +01:00
..
2016-08-13 16:29:49 -07:00
2015-06-16 22:44:57 +01:00
2016-01-27 19:02:48 +00:00
2015-04-26 02:01:01 -04:00
2017-02-21 12:01:10 -06:00
2017-01-10 17:57:04 +01:00
2016-04-10 22:59:52 +01:00