CloseUserLog - Debug

From Creation Kit
Jump to: navigation, 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

Function CloseUserLog(string asLogName) native global debugOnly

Parameters

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

Return Value

None

Examples

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

See Also