Share via


CeLogMsg (Windows CE 5.0)

Send Feedback

This function allows users to print a formatted Unicode string to the CeLogData function.

void CeLogMsg(WCHAR*format [, argument]);

Parameters

  • format
    [in] String to print to the CeLogData function.
  • argument
    [in] Optional arguments.

Return Values

None.

Remarks

CeLogMsg always logs an event of type CELID_RAW_WCHAR to the CELZONE_ALWAYSON zone.

For more information, see CeLog Event Identifiers and CeLog Zones.

You can use the RETAILCELOGMSG and DEBUGCELOGMSG macros to conditionally output messages. These macros work like the RETAILMSG and DEBUGMSG macros except that the XXXCELOGMSG macros write the data to the CeLogMsg function rather than to the debug output. For more information, see CeLog Event Tracking Macros.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Celog.h.
Link Library: Coredll.lib.

See Also

CeLogData

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.