PrintString

From NWN Lexicon
Jump to: navigation, search



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: 

WriteTimestampedLogEntry



 author: Iskander Merriman, editor: Jeff Lindsey