Share via


Logging Reference OAL Interface (Compact 2013)

10/16/2014

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. g_oalLogMask is no longer supported; use DBGPARAM instead.

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

Reference

Logging Reference