Skip to content

Script Development / Printing Logs print

Since the script editor is a web application, unlike a typical IDE, it does not support operations such as single-step debugging.

Therefore, debugging can rely on runtime log output.

To enable log output to be collected by DataFlux Func and displayed in the script editor, DataFlux Func has repackaged the print(...) function, allowing its output content to be presented through the web page.

Only the output of the print(...) function will be displayed on the page

Other methods in Python that can output to the terminal currently do not support output to the web page output bar (e.g., pprint).

Example:

Python
1
print('Some log message')