DEBUG
From PhoenixWiki
Macro for outputting messages in the debug-build versions of drivers.
Prototype
#ifdef EFI_DEBUG ... #define DEBUG(arg) EfiDebugPrint arg ... #else ... #define DEBUG(arg) #endif
Parameters
| Parameter | Description |
|---|---|
| ErrorLevel | Specifies the severity and class of error. See EFI_DEBUG_MASK_PROTOCOL for a definition of the error levels and classes. |
| Format | printf-style debug string. |
| ... | Other parameters |
Description
In the debug builds, display the printf-style message to the StdErr.
The parameters should be enclosed in parentheses: DEBUG((EFI_D_INFO|EFI_D_LOAD,...))
Copyright (C) 2008 Phoenix Technologies Ltd. All Rights Reserved. Portions copyright (C) 2004 Intel Corporation. Used with permission.
