Skip to content

Commit 17494bb

Browse files
committed
remove: 删除部分无用的代码
1 parent 7be9e1d commit 17494bb

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

assets/ip.xdb

-10.6 MB
Binary file not shown.

core/logger.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -95,18 +95,4 @@ def tsuccess(self, key: str, failed_prompt=True, *args, **kwargs):
9595
def depth(self, depth):
9696
return LoggingLogger(depth)
9797

98-
logger = LoggingLogger()
99-
100-
class SocketIOLogger:
101-
def __init__(self):
102-
self.log = logger
103-
def info(self, msg: str, *values):
104-
return self.log.raw_log("DEBUG", msg, *values)
105-
def error(self, msg: str, *values):
106-
return self.log.raw_log("DEBUG", msg, *values)
107-
def warning(self, msg: str, *values):
108-
return self.log.raw_log("DEBUG", msg, *values)
109-
def debug(self, msg: str, *values):
110-
return self.log.raw_log("DEBUG", msg, *values)
111-
112-
socketio_logger = SocketIOLogger()
98+
logger = LoggingLogger()

0 commit comments

Comments
 (0)