From 61512ff01f077f045dd27d1fa536c42d4139c44e Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Fri, 21 May 2021 15:15:04 +0800 Subject: [PATCH] :label: add type hint for logger --- nonebot/log.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nonebot/log.py b/nonebot/log.py index e4febebc..7151041c 100644 --- a/nonebot/log.py +++ b/nonebot/log.py @@ -14,10 +14,10 @@ import sys import logging from typing import Union -from loguru import logger as logger_ +import loguru # logger = logging.getLogger("nonebot") -logger = logger_ +logger: "loguru.Logger" = loguru.logger """ :说明: