op_log
The APIs described in this section are reserved and may be changed or deprecated in the future. They do not need your attention.
API Definition |
Function Usage |
|---|---|
GetTid() |
Obtains the thread ID. |
CheckLogLevel(int32_t moduleId, int32_t logLevel) |
Check the log level. |
DlogRecord(int32_t moduleId, int32_t level, const char *fmt, ...) |
Prints log records. |
ReportErrorMessageInner(const std::string &code, const char *fmt, ...) |
Reports internal error messages. |
ReportErrorMessage(const char (&code)[N], const char *fmt, Arguments &&... args) |
Reports error messages. |
GetLogApiInfo() |
Obtains the API information. |
GetFileName(const char *path) |
Obtains the file name. |
GetOpName() |
Obtains the operator name. |
Parent topic: Framework Capability APIs