WriteTimestampedLogEntry

From NWN Lexicon

Contents

[edit] WriteTimestampedLogEntry(string)

Records a string in the log file along with a date-time stamp.

void WriteTimestampedLogEntry(
    string sLogEntry
);

[edit] Parameters

sLogEntry


[edit] Description

Write sLogEntry as a timestamped entry into the log file



[edit] Remarks

The logfile the string is printed in is called nwclientlog.txt and is located in the "logs" folder under your nwn install directory.


[edit] Version

1.22

[edit] Example

// This call would produce "[Fri Jul 12 12:08:03] Test" in the log file
WriteTimestampedLogEntry("Test");

[edit] See Also

functions: 

PrintString



 author: Tom Cassiotis, editor: Lilac Soul
 

Personal tools
Categories