ConfigBase and Test

This commit is contained in:
UnCLAS-Prommer
2026-01-12 18:20:03 +08:00
parent 3ab0a2c737
commit 207dc460cb
6 changed files with 1076 additions and 141 deletions

22
pytests/logger.py Normal file
View File

@@ -0,0 +1,22 @@
class MyLogger:
def __init__(self):
pass
def info(self, msg):
print(f"INFO: {msg}")
def error(self, msg):
print(f"ERROR: {msg}")
def debug(self, msg):
print(f"DEBUG: {msg}")
def warning(self, msg):
print(f"WARNING: {msg}")
def trace(self, msg):
print(f"TRACE: {msg}")
def get_logger(*args, **kwargs):
return MyLogger()