mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-20 17:46:51 +08:00
🔊 force aiocache to use standard logger
This commit is contained in:
parent
ceebe0e95d
commit
7b3d66cd2a
@ -1,3 +1,12 @@
|
||||
import logging
|
||||
|
||||
from nonebot.log import LoguruHandler, logger
|
||||
|
||||
aiocache_logger = logging.getLogger("aiocache.serializers.serializers")
|
||||
aiocache_logger.setLevel(logging.DEBUG)
|
||||
aiocache_logger.handlers.clear()
|
||||
aiocache_logger.addHandler(LoguruHandler())
|
||||
|
||||
from .bot import Bot
|
||||
from .event import *
|
||||
from .event import Event
|
||||
|
Loading…
x
Reference in New Issue
Block a user