From 27be47d23874e8ae5eeed1bb5b777a0dab90e88a Mon Sep 17 00:00:00 2001 From: shtlrs Date: Tue, 13 Feb 2024 22:52:19 +0100 Subject: move logger to its own package This sets the place to centralize all logs configs in its own module --- arthur/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arthur/__main__.py') diff --git a/arthur/__main__.py b/arthur/__main__.py index 53e1fb3..6f4a68f 100644 --- a/arthur/__main__.py +++ b/arthur/__main__.py @@ -9,6 +9,7 @@ from discord.ext import commands import arthur from arthur.bot import KingArthur from arthur.config import CONFIG +from arthur.log import logger async def main() -> None: @@ -34,5 +35,5 @@ async def main() -> None: await bot.start(CONFIG.token.get_secret_value()) -with arthur.logger.catch(): +with logger.catch(): asyncio.run(main()) -- cgit v1.2.3