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 step-by-step debugging.

Therefore, debugging can rely on runtime log output.

To allow log output to be collected by DataFlux Func and displayed in the script editor, DataFlux Func has re-wrapped the print(...) function so that its output can be shown on a 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 currently supported for output to the Web page output pane (e.g., pprint)

An example is as follows:

Python
1
print('Some log message')