Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / Ens.Util.MsgReportWriter
Private  Storage   

Ens.Util.MsgReportWriter


class Ens.Util.MsgReportWriter

Class to write message reports given the session ID

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
8


Summary


Methods
RenderTraceEntryAsXML WriteEventReport WriteFullReport WriteMsgReport
WriteRuleLogReport WriteXMLReportToFile


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!