feat(registry): 添加模块注册日志记录功能

- 在 _register_module 方法中添加 logger.info 日志输出
- 记录模块名称、模块类和模块路径信息
- 便于调试和追踪模块注册过程
```
This commit is contained in:
2026-01-19 12:59:24 +08:00
parent 8b45063958
commit 0a936495b9

View File

@@ -81,6 +81,7 @@ class Registry(object):
:param force: 是否强行覆盖同名模块,默认值为False.
"""
logger.info(f'_register_module: {module_name}\t{module_cls}\t{module_path}')
if module_name is None and module_cls is not None:
module_name = module_cls.__name__