NVIDIAGameWorks / PhysX

NVIDIA PhysX SDK
Other
3.16k stars 802 forks source link

PxProfiler: Add a logging interface. #581

Closed hermet closed 2 years ago

hermet commented 2 years ago

It's necesssary to see PhysX behaviors with the main system in a chronogolical order. The following interface is designed for printing log messages via a backend logging system.

void PxProfilerCallback::logMessage(uint8_t verbosity, const char* format, ...)

The verbosity is the level of backend logging systems. (i.e Fatal = 1, Error = 2, Warning = 3 ...)

Usages: PX_PROFILE_MSG(level, "PhysX log message - %d", var);

CLAassistant commented 2 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Hermet Park seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.