C# Class SobekCM.Tools.Custom_Tracer

Traces execution of a SobekCM query through construction of the various classes and rendering of HTML and controls
This class allows a trace route to be written at the bottom of the server HTML page
Show file Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Public Methods

Method Description
Add_Trace ( string Method ) : void

Adds a trace message to the building list of traces

Add_Trace ( string Method, string Message ) : void

Adds a trace message to the building list of traces

Add_Trace ( string Method, string Message, Custom_Trace_Type_Enum Message_Type ) : void

Adds a trace message to the building list of traces

Clear ( ) : void

Clears this trace route and resets the elapsed timer

This is generally called when creating static HTML pages through the Builder application, to prevent the trace object from getting astronomically large

Custom_Tracer ( ) : System

Constructor for a new instance of the Custom_Tracer class

Method Details

Add_Trace() public method

Adds a trace message to the building list of traces
public Add_Trace ( string Method ) : void
Method string Method from which this trace call was executed
return void

Add_Trace() public method

Adds a trace message to the building list of traces
public Add_Trace ( string Method, string Message ) : void
Method string Method from which this trace call was executed
Message string Message to add to trace
return void

Add_Trace() public method

Adds a trace message to the building list of traces
public Add_Trace ( string Method, string Message, Custom_Trace_Type_Enum Message_Type ) : void
Method string Method from which this trace call was executed
Message string Message to add to trace
Message_Type Custom_Trace_Type_Enum Type of message
return void

Clear() public method

Clears this trace route and resets the elapsed timer
This is generally called when creating static HTML pages through the Builder application, to prevent the trace object from getting astronomically large
public Clear ( ) : void
return void

Custom_Tracer() public method

Constructor for a new instance of the Custom_Tracer class
public Custom_Tracer ( ) : System
return System