Home > Class Reference > ENSLIB namespace > Ens.Util.MsgReportWriter

Ens.Util.MsgReportWriter

class Ens.Util.MsgReportWriter

Class to write message reports given the session ID

Methods

classmethod RenderTraceEntryAsXML(pStream As %IO.I.Stream, pId As %String) as %Status [ Language = objectscript ]
classmethod WriteEventReport(pStream As %IO.I.Stream, pSessionId As %String) as %Status [ Language = objectscript ]
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 [ Language = objectscript ]
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 [ Language = objectscript ]
classmethod WriteRuleLogReport(pStream As %IO.I.Stream, pSessionId As %String) as %Status [ Language = objectscript ]
classmethod WriteXMLReportToFile(pSessionId As %String, pFileDir As %String, pFileSpec As %String = "%f.log") as %Status [ Language = objectscript ]
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!