Compartir a través de


ATLTRACE (ATL)

Reports warnings to an output device, such as the debugger window, according to the indicated flags and levels. Included for backward compatibility.

ATLTRACE( exp );
ATLTRACE(
   DWORD category,
   UINT level,
   LPCSTR lpszFormat,
...
);

Parameters

  • exp
    [in] The string and variables to send to the Visual C++ output window or any application that traps these messages.

  • category
    [in] Type of event or method on which to report. See the Remarks for a list of categories.

  • level
    [in] The level of tracing to report. See the Remarks for details.

  • lpszFormat
    [in] The formatted string to send to the dump device.

Remarks

See ATLTRACE2 for a description of ATLTRACE. ATLTRACE and ATLTRACE2 have the same behavior, ATLTRACE is included for backward compatibility.

Requirements

Header: atltrace.h

See Also

Reference

ATLTRACE2

Other Resources

Debugging and Error Reporting Macros