The following table shows the functions exported from the logging library for use with other libraries in the OAL.
| Programming Element | Description |
|---|---|
| g_oalLogMask | This global variable exports the global trace mask used by the OAL trace macros. |
| OALLogPrintf | This function formats the string to a buffer. |
| OALLogSerial | This function formats strings and writes them to the serial debug output. |
| OALLogSetZones | This function updates the current trace zone mask. |
| OALMASK | This utility macro sets up OAL trace zones. |
| OALMSGS | This macro is used to log messages in the OAL and always uses serial output. |
| OALMSG | This macro is used to log messages in the OAL. |
| OALZONE | This macro tests whether or not a zone is being traced. |
See Also
Logging Reference | Production-Quality OAL Components
Send Feedback on this topic to the authors