Function: app_log

Applicable Products

  • Ascend 950PR&950DT products: Supported
  • Atlas A3 products: Supported
  • Atlas A2 products: Supported
  • Atlas 200I/500 A2 inference products: Supported
  • Atlas inference products: Supported
  • Atlas training products: Supported

Function

Records logs in the log files of the system.

Prototype

  • C Prototype

    ACL_APP_LOG(aclLogLevel logLevel, const char *message)
    
  • Python Function

    acl.app_log(log_level, message)
    

Parameters

Parameter Description
log_level Int, log level.
0: DEBUG
1: INFO
2: WARNING
3: ERROR
message Str, recorded log information.

Return Values

None