TrueUpdate 3.9

TrueUpdate.WriteToLogFile

TrueUpdate.WriteToLogFile

Previous topic Next topic  

TrueUpdate.WriteToLogFile

Previous topic Next topic  

Overview Examples

TrueUpdate.WriteToLogFile (

string Text,

boolean AddTimestamp = true )

Description

Writes a string of text to the update log file.

Note: The text will be appended to the log file as-is. Line breaks (\r\n) are not automatically included.

Note: If the log file option is not set in the update, this action will not generate an error. Instead, it will simply have no effect. You can enable the creation of an update log file on the Options tab of the Project Settings dialog.

Parameters

Text

(string) The text you want to output to the log file.

AddTimestamp

(boolean) Whether to prepend a time stamp to the Text. Choose from:

VALUE

DESCRIPTION

true

Prepend a time stamp to the text in the form [06/18/2004 13:17:48]. (Default)

false

Don't prepend a time stamp.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions


Learn More: Indigo Rose Software - TrueUpdate - Buy Now - Contact Us