Function: app_log

Applicability

Product

Supported (√/x)

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

Function Usage

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)
    

Parameter Description

Parameter

Description

log_level

Log level (int).

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

message

Recorded log information (str).

Return Value Description

None.