Skip to main content

HS.HC.InstanceConfig.EventLog.API

abstract class HS.HC.InstanceConfig.EventLog.API

Method Inventory

Methods

classmethod AddError(application As %String, status As %Status, subType As %String = "", data As %DynamicObject = "")
classmethod AddEvent(type As %String, subtype As %String = "", application As %String, data As %DynamicAbstractObject = "", target="")
Content may be a string or a %DynamicAbstractObject
classmethod AddTraceEvent(type As %String, subtype As %String = "", application As %String, data As %DynamicAbstractObject = "", target="")
Same as Add Event except that the event will only be emitted if the namespace is set to "Trace" level event logging
classmethod IsTraceActive() as %Boolean
classmethod JSONFromStatus(pStatus As %Status, Output httpStatus) as %DynamicObject
Builds a "HealthShare API Standard" error response from a %Status returns a JSON object with the error information and the httpStatus code to use with
FeedbackOpens in a new tab