feat: 载入各种服务
This commit is contained in:
@@ -59,6 +59,7 @@ _logger = _logger.patch(lambda record: record["extra"].setdefault("module", "未
|
||||
def get_logger(module_name: str):
|
||||
"""
|
||||
获取一个绑定 module 名的日志器
|
||||
|
||||
:param module_name: 模块名称,如 "用户管理"
|
||||
:return: 绑定后的 logger
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user