Skip to main content

Ens.Util.MsgReportWriter

class Ens.Util.MsgReportWriter

Class to write Ensemble message reports given the session ID

Method Inventory

Methods

classmethod RenderTraceEntryAsXML(pStream As %IO.I.Stream, pId As %String) as %Status
classmethod WriteEventReport(pStream As %IO.I.Stream, pSessionId As %String) as %Status
classmethod WriteFullReport(pStream As %IO.I.Stream = $$$NULLOREF, pSessionId As %String, pStartTime As %String = "", pEndTime As %String = "", pStartId As %Integer = "", pEndId As %Integer = "") as %Status
Write an XML version of the trace
classmethod WriteMsgReport(pStream As %IO.I.Stream, pSessionId As %String, pStartTime As %String = "", pEndTime As %String = "", pStartId As %Integer = "", pEndId As %Integer = "") as %Status
classmethod WriteRuleLogReport(pStream As %IO.I.Stream, pSessionId As %String) as %Status
classmethod WriteXMLReportToFile(pSessionId As %String, pFileDir As %String, pFileSpec As %String = "%f.log") as %Status
Writes the report into a (local) file filePath is the path to add log to. We assume path ends in a slash! By default the file is named <sessionId>.log in this path filePath is the path to add log to. We assume path ends in a slash!
FeedbackOpens in a new tab