UDF Log API Overview
flow_func_log.h provides log APIs to facilitate log recording during FlowFunc development. The log scenarios are as follows.
Log Type |
Application Scenario |
Log Level |
Log Macro |
|---|---|---|---|
Run log |
Run logs record abnormal status and operations, key events, and resource usage during system running. |
ERROR |
|
INFO |
|||
Debug log |
Debug logs record the following scenarios (including but not limited to these scenarios): - Entrance and exit of all calls such as API and function calls - Operation entrance and prerequisite setting - Start or timeout of a timer - Before and after status setting and status transfer condition judgment - Business-related resource statistics, business processing entrance/exit, and performance computing statistics - All processing failures and exceptions Debug logs record code-related information for R&D engineers to locate faults. |
ERROR |
|
WARN |
|||
INFO |
|||
DEBUG |