How to use the aiomultiprocess.core.log function in aiomultiprocess

To help you get started, we’ve selected a few aiomultiprocess examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jreese / aiomultiprocess / tests / example.py View on Github external
def main():
    core.set_context("spawn")
    logging.basicConfig(level=logging.DEBUG)
    core.log.setLevel(logging.DEBUG)

    loop = asyncio.get_event_loop()
    loop.run_until_complete(request())