Database Vuser Functions (LRD) > Alphabetical List of Functions > lrd_msg


Example: lrd_msg LRD Environment Functions

Issues a database message.

LRDRET lrd_msg( int miMsgClass, char *mpszMsg );

miMsgClass A message class.
mpszMsg A pointer to a message to be sent to the log file. You can use the standard formatting conventions that are available for printf.

The lrd_msg function lets you to send a database message to the log file, output.txt. The message is sent to the log file only when the specified message class matches the settings in the Log run-time settings. For example, if you have "Brief Log" selected in the run-time settings, then only debug messages assigned to the brief class will appear.

For more details refer to the Function Header File lrd.h in the include directory.

Return Values

See LRD Return Values.


You cannot use standard parameterization for any arguments in this function.