Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [Ens] >  [Util] >  [MsgReportWriter]
Private  Storage   

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!


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.