op_log

表1 接口列表

接口定义

功能说明

GetTid()

获取线程id。

CheckLogLevel(int moduleId, int logLevel)

检查log等级。

DlogRecord(int moduleId, int level, const char *fmt, ...)

打印log。

ReportErrorMessageInner(const std::string &code, const char *fmt, ...)

报告内部错误消息。

ReportErrorMessage(const char (&code)

报告错误消息。

GetLogApiInfo()

获取api信息。

GetFileName(const char *path)

获取文件名。

GetOpName()

获取算子名称。