itamarst / eliot

Eliot: the logging system that tells you *why* it happened
https://eliot.readthedocs.io
Apache License 2.0
1.1k stars 66 forks source link

Add support for async functions to @capture_logging #385

Open itamarst opened 5 years ago

itamarst commented 5 years ago

@capture_logging won't work for async functions, but it should be possible to make it do so. pytest-asyncio for example allows async methods to be run as tests.