Function: app_log

Applicable Products

Product

Supported (√/x)

Ascend 950PR/Ascend 950DT

√

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas training products

√

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

Description

Records logs in the log files of the system.

Prototype

  • C Prototype
    1
    ACL_APP_LOG(aclLogLevel logLevel, const char *message)
    
  • Python Function
    1
    acl.app_log(log_level, message)
    

Parameters

Parameter

Description

log_level

Log level (int).

  • 0: DEBUG
  • 1: INFO
  • 2: WARNING
  • 3: ERROR

message

Recorded log information (str).

Return Values

None