wip: temp

This commit is contained in:
superobk
2024-05-16 16:02:13 +08:00
parent 5c7a8b4088
commit 0ca946836c
4 changed files with 16 additions and 16 deletions

View File

@ -1,13 +1,13 @@
import logging
class LogHandler(logging.Handler):
class LogHandler(logging.StreamHandler):
def __init__(self)-> None:
logging.Handler.__init__(self=self)
def emit(self, record) -> None:
print("emit", record)
def handle(self, record) -> None:
print("@ handle",record)