Hide menu
Logging Example

Table of Contents

Demonstrates use of a custom logger to collect errors, warnings and information messages during files import.


In this example we use a global instance of the logger and make two types of output:

  • standard error output for errors;
  • file output for all logging information;

We also create a ModelData_ModelReader to collect logs during the file import.

To learn more about logging in CAD Exchanger SDK, please visit Logging Support page.


You can try this example with the following model: