mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-27 18:45:05 +08:00
🏷️ add type hint for logger
This commit is contained in:
parent
100f560558
commit
61512ff01f
@ -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
|
||||
"""
|
||||
:说明:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user