Last active
October 29, 2018 02:01
-
-
Save diogommartins/4139fe6a2ece705992ed59be5ba7f520 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
from aiologger import Logger | |
async def main(): | |
logger = Logger.with_default_handlers(name='my-logger') | |
await logger.debug("Hello stdout !") | |
await logger.info("Hello stdout !") | |
await logger.warning("Hello stderr !") | |
await logger.error("Hello stderr !") | |
await logger.critical("Hello stderr !") | |
asyncio.run(main()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment