昇腾社区首页
中文
注册
开发者
下载

维测能力

本节中的${install_path}请替换为CANN软件安装路径。如下以安装Ascend-cann-toolkit举例。

废弃特性

下表所示接口和文件计划在2026.12.30之后的版本删除。

废弃的目录、文件和接口

替换的目录、文件和接口

Error Manager头文件${install_path}/ascend-toolkit/latest/include/experiment/metadef/common/util/error_manager/error_manager.h

Error Manager头文件${install_path}/cann/include/base/err_msg.h

${install_path}/ascend-toolkit/latest/include/experiment/metadef/common/util/error_manager/error_manager.h中的REPORT_INNER_ERROR和REPORT_CALL_ERROR接口

REPORT_INNER_ERR_MSG接口

REPORT_INPUT_ERROR、REPORT_ENV_ERROR接口

REPORT_PREDEFINED_ERR_MSG接口

日志头文件${install_path}/ascend-toolkit/latest/include/toolchain/slog.h

日志头文件${install_path}/cann/pkg_inc/base/dlog_pub.h

日志头文件${install_path}/ascend-toolkit/latest/include/base/alog_pub.h

日志头文件${install_path}/cann/pkg_inc/base/dlog_pub.h

${install_path}/ascend-toolkit/latest/include/base/alog_pub.h中的AlogCheckDebugLevel接口

${install_path}/cann/pkg_inc/base/dlog_pub.h中的CheckLogLevel接口

${install_path}/ascend-toolkit/latest/include/base/alog_pub.h中的AlogRecord接口

${install_path}/cann/pkg_inc/base/dlog_pub.h中的DlogRecord接口或封装的dlog_error、dlog_warn等宏