Suppress output when using pyluxcore
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Suppress output when using pyluxcore
pyluxcore write as lot of information (to stdout?). How can I suppress that logging?
Re: Suppress output when using pyluxcore
Yes, the pyluxcore.Init() method takes an optional callback, the default function just print to the stdout:
Code: Select all
def PrintHandler(msg):
print(msg)
pyluxcore.Init(PrintHandler)