summaryrefslogtreecommitdiff
path: root/crocoite/logger.py
AgeCommit message (Collapse)AuthorFilesLines
2019-01-03browser: Turn Item into RequestResponsePairLars-Dominik Braun1-1/+1
Previously Item was just a simple wrapper around Chrome’s Network.* events. This turned out to be quite nasty when testing, so its replacement, RequestResponsePair, does some level of abstraction. This makes testing alot easier, since we now can simply instantiate it without building a proper DevTools event. Should come without any functional changes.
2018-12-25logger: Fix constructor default argumentsLars-Dominik Braun1-3/+3
Default arguments cannot be mutable objects.
2018-12-21Parse URLs by defaultLars-Dominik Braun1-13/+4
Use library yarl (already pulled in by aiohttp). No URL processed should be a string.
2018-11-19Coding styleLars-Dominik Braun1-1/+1
Fix a few random issues pointed out by pylint, mainly unused imports.
2018-11-17logger: Add more testsLars-Dominik Braun1-1/+1
2018-10-10Add timezone to logger datesLars-Dominik Braun1-1/+3
UTC everywhere. Make that clear.
2018-09-25Immediately flush loggerLars-Dominik Braun1-0/+2
Consumers can read the latest gossip faster now.
2018-08-04Reintroduce WARC loggingLars-Dominik Braun1-0/+137
Commit 7730e0d64ec895091a0dd7eb0e3c6ce2ed02d981 removed logging to WARC files. Add it again, but with a different implementation.. Credits to structlog for inspiration.