重构:核心迁移至 oss/core + NBPF 多重签名加密 + NIR 编译器 + README 全面升级
- 核心功能从 store/ 迁移至 oss/core/ 框架层 - 实现 NBPF 包格式:多重签名(Ed25519+RSA-PSS+HMAC)+ 多重加密(AES-256-GCM) - 实现 NIR 编译器:基于 compile()+marshal 的跨平台中间表示 - 新增 nebula nbpf CLI 命令组(pack/unpack/verify/sign/keygen) - 新增 19 个 NBPF 测试用例,覆盖全链路 - 彻底重写 README,大型项目标准框架风格,所有图表使用 SVG - 更新 LICENSE 版权声明 - 清理旧版 store 插件目录(已迁移至 oss/core)
This commit is contained in:
@@ -41,22 +41,6 @@ class Log:
|
||||
def ok(cls, tag: str, msg: str):
|
||||
print(f"{cls._c(f'[{tag}]', 'white')} {cls._c(msg, 'white')}")
|
||||
|
||||
|
||||
class Logger:
|
||||
"""日志记录器(兼容旧接口)"""
|
||||
|
||||
def info(self, msg: str, **kwargs):
|
||||
tag = kwargs.get("tag", "INFO")
|
||||
Log.info(tag, msg)
|
||||
|
||||
def warn(self, msg: str, **kwargs):
|
||||
tag = kwargs.get("tag", "WARN")
|
||||
Log.warn(tag, msg)
|
||||
|
||||
def error(self, msg: str, **kwargs):
|
||||
tag = kwargs.get("tag", "ERROR")
|
||||
Log.error(tag, msg)
|
||||
|
||||
def debug(self, msg: str, **kwargs):
|
||||
tag = kwargs.get("tag", "DEBUG")
|
||||
Log.tip(tag, msg)
|
||||
@classmethod
|
||||
def debug(cls, tag: str, msg: str):
|
||||
cls.tip(tag, msg)
|
||||
|
||||
Reference in New Issue
Block a user