Difference between revisions of "PrintToLog"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
m (updated and removed parser tag) |
||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=PrintToLog | |name=PrintToLog | ||
Line 5: | Line 4: | ||
|param1type=string | |param1type=string | ||
|param1name=sMessage | |param1name=sMessage | ||
− | |param1desc= | + | |param1desc=The string entry to print to the log file. |
|returntype=void | |returntype=void | ||
|returndesc= | |returndesc= | ||
Line 14: | 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 | + | 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. |
<!-- == Remarks == --> | <!-- == Remarks == --> | ||
<!-- This section contains additional comments, observations and known issues. --> | <!-- This section contains additional comments, observations and known issues. --> | ||
− | |||
<!-- == 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 11:41, 29 November 2009
Prints a timestamped entry to the log file.
- Parameters:
- sMessage
- The string entry to print to the log file.
- Returns:
- Nothing.
- Source:
- script.ldf
Description
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 <DragonAgeInstallDirectory>\bin_ship\ECLog.ini
file and set Script=1
in the [LogTypes]
section.
See also
PrintInteger, PrintFloat, PrintString, PrintObject, PrintVector