2
Debugging
Syoyo Fujita edited this page 2025-10-23 21:39:27 +09:00

Use loglevel debug(lib user)

Log message with TUSDZ_LOG_D(...) will be printed.

See example usage in examples/tusdcat

Enable detailed debug output(for developer)

Output message with DCOUT macro.

Build with -DTINYUSDZ_DEBUG_PRINT

Set env var TINYUSDZ_ENABLE_DOUT

Example

$ TINYUSDZ_ENABLE_DCOUT=1 tusdcat input.usdc

NOTE

If tinyusdz is being built with production setting, DCOUT macro is disabled at compile time.