Partager via


Logging Reference OAL Interface (Windows Embedded CE 6.0)

1/5/2010

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. In Windows Embedded CE 6.0, g_oalLogMask is no longer supported. DBGPARAM should be used 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

Concepts

Production-Quality OAL Components