Precautions

These APIs are used only in the CANN component customization scenario. This section describes their functions and parameters to help you understand how these APIs function in the CANN open-source code, enabling you to better use or modify the CANN open-source code.

Paths of the header file and library file of the log APIs:
  • Path of the header file of include: ${INSTALL_DIR}/include/base/alog_pub.h (The header file already contains log_types.h.)
  • Path of the dependency library file: ${INSTALL_DIR}/lib64/libascendalog.so

Replace ${INSTALL_DIR} with the CANN component directory. For example, if the installation is performed by the root user, the default file storage path is /usr/local/Ascend/cann.