Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFTrace Methods

  • Last UpdatedNov 18, 2025
  • 4 minute read
AFTrace Methods

The AFTrace type exposes the following members.

Methods

  NameDescription
Public methodStatic member
AddListener
Adds a TraceListener to the list of listeners that receive messages from AFTrace.
Public methodStatic member
AddTracingMethodNames
Adds the input names to the list of methods to ignore when determining the calling method.
Public methodStatic member
Flush
Flushes the trace output buffers, and causes buffered data to be written to the output listeners.
Public methodStatic member
GetTraceLevel
Returns the trace level for the object.
Public methodStatic member
IsTraced
Indicates if the specified level is traced.
Public methodStatic member
RemoveListener
Removes a TraceListener from the list of listeners that receive messages from AFTrace.
Public methodStatic member
SetTraceLevel(String)
Sets the overall TraceLevel to the specified string representation of the levels.
Public methodStatic member
SetTraceLevel(AFTraceSwitchLevel)
Sets the overall TraceLevel to the specified level.
Public methodStatic member
SetTraceLevel(AFAnalysis, AFTraceSwitchLevel)
Sets a trace level for an AFAnalysis object.
Public methodStatic member
SetTraceLevel(AFNotification, AFTraceSwitchLevel)
Sets the trace level for an AFNotification object.
Public methodStatic member
SetTraceLevel(AFObject, AFTraceSwitchLevel)
Sets the trace level for a specific object and its child objects.
Public methodStatic member
TraceData
Output a data trace event.
Public methodStatic member
TraceDetail
Output a detail trace event.
Public methodStatic member
TraceError
Output an error trace event.
Public methodStatic member
TraceEvent(Exception)
Output an error trace event for the exception.
Public methodStatic member
TraceEvent(AFTraceSwitchLevel, String)
Output a trace event with a message.
Public methodStatic member
TraceEvent(AFTraceSwitchLevel, String, Int32)
Output a trace event with a message and a duration.
Public methodStatic member
TraceEvent(AFTraceSwitchLevel, String, Object)
Output a trace event as a formatted message with a variable number of arguments.
Public methodStatic member
TraceInformation
Output an information trace event.
Public methodStatic member
TraceSummary
Output a summary trace event.
Public methodStatic member
TraceWarning
Output a warning trace event.

See Also

TitleResults for “How to create a CRG?”Also Available in