Difference between revisions of "LogTrace"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Adding link)
 
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
|param1default=LOG_CHANNEL_GENERAL
+
|param1default = LOG_CHANNEL_GENERAL
|param2type=string
+
|param2type   = string
|param2name=sLogEntry
+
|param2name   = sLogEntry
|param2desc=The string entry to print to the log file
+
|param2desc   = The string entry to print to the log file
|param2default=""
+
|param2default = ""
|param3type=object
+
|param3type   = object
|param3name=oTarget
+
|param3name   = oTarget
|param3desc=The target of the debugged function
+
|param3desc   = The target of the debugged function
|param3default=OBJECT_INVALID
+
|param3default = OBJECT_INVALID
|returntype=void
+
|returntype   = void
|returndesc=
+
|returndesc   =  
|sourcefile=script.ldf
+
|sourcefile   = script.ldf
|sourcemodule=
+
|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]]
 
[[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
);
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.