CloseUserLog - Debug

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Debug Script

Closes the specified user log. If the log isn't open, it doesn't do anything. A subsequent call to OpenUserLog will cycle the logs on disk (so log 0 becomes 1, 1 becomes 2, etc).

Syntax[edit | edit source]

Function CloseUserLog(string asLogName) native global

Parameters[edit | edit source]

  • asLogName: The name of the user log to close (case-insensitive).

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Closes the "mySpecialLog" log
Debug.CloseUserLog("mySpecialLog")

See Also[edit | edit source]