Microsoft DirectX 8.1 (C++)

NOTE

Sends a string to the debug output location. Ignored in retail builds.

Syntax

NOTE(
    pFormat
);

NOTEn(
    pFormat,
    arg1 ... arg5
);

Parameters

pFormat

A printf-style format string.

arg1arg5

Additional arguments for the format string. The number of arguments must match the macro name. For example, NOTE1 takes one argument, and NOTE5 takes five arguments.

Remarks

These macros are variants of the DbgLog macro. They generate level 5 LOG_TRACE messages.

Example

NOTE("Warning, failed to created graph.");
NOTE2("Width: %d, Height: %d", width, height);

See Also