Utility class designed to simpify extensive tracing in the application
| C# |
public static class TraceFormatted
| All Members | Methods | Properties | Events | ||
| Icon | Member | Description |
|---|---|---|
| AppStackTraceSwitch |
TraceSwitch used to enable (Verbose) or disable Stack tracing (TraceMStart/ TraceMEnd)
| |
| AppTraceSwitch |
TraceSwitch for all standard traces via this class
| |
| ErrorTraceEvent |
Event fired whenever an Error level trace occurs to facilitate logging
| |
| GetFormattedException(Exception) |
Returns a formatted string representing the detail of the specified exception and its innerexception if one exists
| |
| Trace(TraceLevel, String, String, array<Object>[]()[]) |
Standard Tracing Routine. Raises ErrorTraceEvent in the event of a TraceLevel.Error trace for logging to webservice.
| |
| TraceE(String, Exception, array<Object>[]()[]) |
TraceError
| |
| TraceE(String, array<Object>[]()[]) |
Creates an Error Trace
| |
| TraceI(String, array<Object>[]()[]) |
Create a Information trace
| |
| TraceMEnd(array<Object>[]()[]) |
Stack trace intended to be called at the end of a method
| |
| TraceMStart(array<Object>[]()[]) |
Begins a stack trace. Designed to be used at the begging of a method
| |
| TraceUnhandled(Exception) |
Trace an exception as an Error Trace. Designed to be called in an exception handler of UI Control's event handler as a last resort trace
Utilizes reflection to determine the trace category
| |
| TraceUnhandled(String, Exception) |
Trace an exception as an Error Trace. Designed to be called in an exception handler of UI Control's event handler as a last resort trace
| |
| TraceV(String, array<Object>[]()[]) |
Creates a verbose trace
| |
| TraceW(Exception) | ||
| TraceW(String, array<Object>[]()[]) |
Creates a warning trace
| |
| UseStackIndents |
If enabled, indenting is used when Stack Tracing is enabled to improve readability
|
| Object | |
| TraceFormatted | |