Background for Skyrim SE
Member of the Debug script
boolfunctionOpenUserLog(stringasLogName)NativeGlobal

[DEV SERVER] Loading description...


Caveats

CK Wiki - Notes

  • A new log file is created each game session (a session ends when the game is no longer running).
  • Multiple scripts and plugins can write to the same logfile.

Parameters

stringasLogName

CK Wiki Description

The name of the log to open, case-insensitive. User log names may use any combination of letters, numbers, and underscores ("_").


Examples

; Opens a new user log name "myUserLog"
Debug.OpenUserLog("myUserLog")

; Outputs "Hello World" to the "myUserLog" log
Debug.TraceUser("myUserLog", "Hello World")

Auto-Generated Example

string myString__asLogName

bool returnedValue = Debug.OpenUserLog(myString__asLogName)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.