OpenSpeech Browser

Getting Started
Architecture Description
Integration Guide

Copyright (c) 1998-2001 SpeechWorks International, Inc. All Rights Reserved.



VXIlogResult Event

(struct VXIlogInterface* pThis,
  VXIunsigned eventID,
  const VXIchar* format,
  ...)

Log an event
Basic error reporting mechanism. Errors are reported by moduleName, error number, and with a varargs format. Event details are not free-form, they must be passed as a succession of key-value pairs, i.e. a string key followed by a value. See the description of the format parameter for Error for a full explanation.

Parameters:
eventID - [IN] Event number to log, this is mapped to a localized event name that is placed in the event log. It is critical that this provide unambiguous information about the nature of the event. See the top of this file for eventID allocation rules.
format - [IN] Format string as passed to wprintf( ) (the wchar_t version of printf( ) as defined by the ANSI C standard) for outputting optional event details. This is followed by a variable list of arguments supplying values for insertion into the format string, also as passed to wprintf().

IMPORTANT: Event details are not free-form, they must be passed as a succession of key-value pairs, i.e. a string key followed by a value. See the description of the format parameter for Error for a full explanation.
... - [IN] Arguments matching the event details format specified above.

Returns:
VXIlog_RESULT_SUCCESS on success

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.