Suppress output when using pyluxcore
Posted: Sun May 27, 2018 6:43 pm
pyluxcore write as lot of information (to stdout?). How can I suppress that logging?
Show your work, get help, participate in development
https://forums.luxcorerender.org/
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)