Difference between revisions of "TraceUser - Debug"
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. | 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. | Debug.TraceUser("myUserLog", "Houston, we have a problem", 2) | ||
</source> | </source> | ||