API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

FUNCTION: DBGPRINTF()

Brew Release
Brew MP 1.0.2
See Also
DBGPRINTF_ERROR() VSNPRINTF() SNPRINTF() Helper Functions
Description
This function is used to output debugging information. Since this function may be implemented in different ways on different platforms, care must be taken with this function to get useful results.
On the Windows SDK, this function's output shows up in the "Output Window." Each call to DBGPRINTF() generates at most 128 bytes of output.
On Qualcomm chipset targets, DBGPRINTF() output comes out the diag port (though this may change). The length of each output string is constrained even more than on the Windows SDK.
In general, DBGPRINTF()'s behaviour should be tested before being relied upon to provide useful output.
The logging category for DBGPRINTF() is "Error". That is, if logging levels are supported on the target device (phone or simulator), the message will be filtered under the Error category.
Params
pszFormat
[]:
printf-style format-control string
... : variable argument array of things that are legal to pass to printf().
Prototype
  •    void dbgprintf(const char *pszFormat,...);
       
    
Return
  • None
Side Effect
  • None
Comments
None