AtlTrace

void _cdecl AtlTrace( LPCTSTR lpszFormat, ... );

Parameters

lpszFormat

[in] The format of the string and variables to send to the dump device.

Remarks

Sends the specified string to the dump device.

For example:

AtlTrace(_T("The value of x is %d.\n"), x);

Note   AtlTrace can be used in both debug and release builds, but it has no effect in release builds. The call to the function is evaluated, but the function does nothing. In debug builds, the function sends the specified string, after formatting, to the dump device.

AtlTrace limits the contents of the string to be sent to the dump device to no more than 511 characters, after formatting.

ATL Macros and Global Functions

See Also

ATLTRACE