Forum

Author Topic: Stream console output to custom logging  (Read 1118 times)

fIGD

  • Newbie
  • *
  • Posts: 1
    • View Profile
Stream console output to custom logging
« on: July 16, 2021, 01:39:18 PM »
We are using the python module for metashape in a larger python project.
Our logging is customized using the standard python logging. Is there a way to stream all prints generated from the called Metashape procedures into our logging?

I have already looked into the possibility of using the ControlPanel. However, as we do not use an Application, this does not help. All the output goes directly to the console.