Difference between revisions of "TraceUser - Debug"

2 bytes removed ,  22:12, 28 May 2016
Wrong function name in the examples.
imported>Plplecuyer
 
imported>Qazaaq
(Wrong function name in the examples.)
 
Line 28: Line 28:
<source lang="papyrus">
<source lang="papyrus">
; Outputs "Hello World" to the "myUserLog" log
; Outputs "Hello World" to the "myUserLog" log
Debug.TraceStack("myUserLog", "Hello World")
Debug.TraceUser("myUserLog", "Hello World")
</source>
</source>
<br/>
<br/>
<source lang="papyrus">
<source lang="papyrus">
; Outputs "Houston, we have a problem" to the "myUserLog" log at error severity (colored red)
; Outputs "Houston, we have a problem" to the "myUserLog" log at error severity (colored red)
Debug.TraceStack("myUserLog", "Houston, we have a problem", 2)
Debug.TraceUser("myUserLog", "Houston, we have a problem", 2)
</source>
</source>


Anonymous user