Hide menu
Loading...
Searching...
No Matches
Logging Example

Table of Contents

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

Description

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.

Usage

You can try this example with the following model:

./examples/models/transmissionhousing1.sat

Files