Difference between revisions of "PrintToLog"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (add a link)
m (Description: removed "timestampted" because they aren't)
Line 13: Line 13:
 
== Description ==
 
== Description ==
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
Prints a timestamped string entry to the log file. Note this will only be visible if Script logging is enabled. To enable script logging open the <code><DragonAgeInstallDirectory>\bin_ship\[[ECLog.ini]]</code> file and set <code>Script=1</code> in the <code>[LogTypes]</code> section.
+
Prints an entry to the log file. Note this will only be visible if Script logging is enabled. To enable script logging open the <code><DragonAgeInstallDirectory>\bin_ship\[[ECLog.ini]]</code> file and set <code>Script=1</code> in the <code>[LogTypes]</code> section.
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->
Line 19: Line 19:
 
<!-- == Examples == -->
 
<!-- == Examples == -->
 
<!-- This section contains examples transcluded from the snippet library. -->
 
<!-- This section contains examples transcluded from the snippet library. -->
 +
 
== See also ==
 
== See also ==
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
 
[[PrintInteger]], [[PrintFloat]], [[PrintString]], [[PrintObject]], [[PrintVector]]
 
[[PrintInteger]], [[PrintFloat]], [[PrintString]], [[PrintObject]], [[PrintVector]]
 
[[Category: Print & log functions]]
 
[[Category: Print & log functions]]

Revision as of 18:03, 12 December 2009

Prints a timestamped entry to the log file.

void PrintToLog(
string sMessage
);
Parameters:
sMessage
The string entry to print to the log file.
Returns:

Nothing.

Source:

script.ldf

Description

Prints an entry to the log file. Note this will only be visible if Script logging is enabled. To enable script logging open the <DragonAgeInstallDirectory>\bin_ship\ECLog.ini file and set Script=1 in the [LogTypes] section.


See also

PrintInteger, PrintFloat, PrintString, PrintObject, PrintVector