Difference between revisions of "LogTrace"
From Dragon Age Toolset Wiki
(Generated by Sunjammer's Dragon Age Script Paser) |
m (Adding link) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
− | |name=LogTrace | + | |name = LogTrace |
− | |brief=DejaInsight Enabled log writer | + | |brief = DejaInsight Enabled log writer |
− | |param1type=int | + | |param1type = int |
− | |param1name=nChannel | + | |param1name = nChannel |
− | |param1desc=LOG_CHANNEL_* constant for use with Deja | + | |param1desc = a [[LOG_CHANNEL_*]] constant for use with Deja |
− | |param2type=string | + | |param1default = LOG_CHANNEL_GENERAL |
− | |param2name=sLogEntry | + | |param2type = string |
− | |param2desc=The string entry to print to the log file | + | |param2name = sLogEntry |
− | |param3type=object | + | |param2desc = The string entry to print to the log file |
− | |param3name=oTarget | + | |param2default = "" |
− | |param3desc=The target of the debugged function | + | |param3type = object |
− | |returntype=void | + | |param3name = oTarget |
− | |returndesc= | + | |param3desc = The target of the debugged function |
− | |sourcefile=script.ldf | + | |param3default = OBJECT_INVALID |
− | |sourcemodule= | + | |returntype = void |
+ | |returndesc = | ||
+ | |sourcefile = script.ldf | ||
+ | |sourcemodule = | ||
}} | }} | ||
− | |||
== 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. | Prints a timestamped string entry to the log file. | ||
− | |||
<!-- == 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. --> | ||
− | + | [[Category:Print & log functions]] | |
− | [[Category: Print & log functions]] | + | [[Category:Logging]] |
Latest revision as of 22:30, 10 March 2012
DejaInsight Enabled log writer
void LogTrace(
int nChannel = LOG_CHANNEL_GENERAL,
string sLogEntry = "",
object oTarget = OBJECT_INVALID
);
int nChannel = LOG_CHANNEL_GENERAL,
string sLogEntry = "",
object oTarget = OBJECT_INVALID
);
- Parameters:
- nChannel
- a LOG_CHANNEL_* constant for use with Deja
- sLogEntry
- The string entry to print to the log file
- oTarget
- The target of the debugged function
- Returns:
- Nothing.
- Source:
- script.ldf
Description
Prints a timestamped string entry to the log file.