OAL Trace Zones (Windows CE 5.0)

Send Feedback

OAL trace zones determine the type and source of logging information. Several trace zone constants, OAL_FUNC, OAL_INFO, and OAL_VERBOSE, are module-dependent. These constants must be combined with module-based trace zone constants. For example, to log function calls in the memory module, use OAL_FUNC and OAL_MEMORY.

OAL_ERROR and OAL_WARN specify general logging and are not associated with any modules.

The following table shows the supported OAL trace zones.

Zone Description
OAL_ERROR Logs errors. This trace zone is not associated with any modules.
OAL_WARN Logs warnings. This trace zone is not associated with any modules.
OAL_FUNC Logs function calls. Use this trace zone to log program flow information. This trace zone must be set with a module-based trace zone when specified in a function.
OAL_INFO Specifies that informational messages will be logged. This trace zone must be set with a module-based trace zone when specified in a function.
OAL_VERBOSE Logs in verbose mode. This trace zone must be set with a module-based trace zone when specified in a function.
OAL_STUB Logs messages from the stub module.
OAL_KEYVAL Logs messages from the keyval module.
OAL_IO Logs messages from the IO module.
OAL_CACHE Logs messages from the cache module.
OAL_RTC Logs messages from the RTC module.
OAL_POWER Logs messages from the power module.
OAL_PCI Logs messages from the PCI module.
OAL_ARGS Logs messages from the arguments module.
OAL_MEMORY Logs messages from the memory module.
OAL_IOCTL Logs messages from the IOCTL module.
OAL_TIMER Logs messages from the timer module.
OAL_ETHER Logs messages from the Ethernet module
OAL_FLASH Logs messages from the flash module.
OAL_INTR Logs messages from the interrupts module.
OAL_KITL Logs messages from the KITL module.

See Also

Logging Reference | Production-Quality OAL Components

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.