PrintString(string)

Records a message to the log file.

void PrintString(
    string sString
);

Parameters

sString

The message to log.


Description

Writes a string message (sString) to the log file.



Version

1.22

Example

// sample debug call, covers many testing bases:
void debug(string sMessage) 
{
     SendMessageToPC(GetFirstPC(), sMessage);
     SendMessageToAllDMs(sMessage);
     PrintString(sMessage);
}

See Also

functions: MyPrintString | PrintFloat | PrintInteger | PrintVector | SendMessageToAllDMs | SendMessageToPC | WriteTimestampedLogEntry
categories: Debug Functions | Miscellaneous Functions | String Functions


 author: Iskander Merriman, editor: Jeff Lindsey