- Found in:
- Vanilla
Description
Wiki Description
Outputs a string to the specified user log on disk, and the Papyrus debug text page. Returns true if the text was successfully output to the log.
Documentation Comment
Outputs the string to a user log - fails if the log hasn't been opened
Parameters
stringasUserLog
CK Wiki Description
The name of the user log to output to, case-insensitive. The log must be open.
stringasTextToPrint
CK Wiki Description
The text that should be printed to the log and text page.
intaiSeverity=0
CK Wiki Description
The severity of the trace statement. Info, the default, will show up as green; warnings will show up as yellow; and errors as red; in the Papyrus debug text page.
- The following values are acceptable:* 0:Info
- 1:Warning
- 2:Error
- The following values are acceptable:* 0:Info
Examples
No human-generated examples found for this function.
Auto-Generated Example
string myString__asUserLog
string myString__asTextToPrint
int myInt__aiSeverity
bool returnedValue = Debug.TraceUser(myString__asUserLog, myString__asTextToPrint, myInt__aiSeverity)Related Pages
- Debug
- Debug.CloseUserLog(...)
- Debug.OpenUserLog(...)
