Skip to content

Script Development / Printing Logs print

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

Therefore, debugging can rely on runtime log output.

To ensure that log output can be collected by DataFlux Func and displayed in the script editor, DataFlux Func has re-encapsulated the print(...) function, allowing its output to be displayed on 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 are not yet supported for output to the web page output bar (e.g., pprint).

Example:

Python
1
print('Some log message')