Поделиться через


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,
...
);

Параметры

  • 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.

Заметки

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

Требования

Header: atltrace.h

См. также

Основные понятия

Debugging and Error Reporting Macros

ATLTRACE2