Flynet Viewer .NET Programmer's Reference

logText Method

logText Method

Previous topic Next topic  

logText Method

Previous topic Next topic  

 

Create an entry in the TraceView log file.

 

void HostConnection.logText(String category, String text);

 

 

 

Arguments

 

HostConnection

 Required. HostConnection object.

 

category

 Required. A short text description for the log file entry.

 

text

 Required. A detailed description for the log file entry.

 

Remarks

 

Use the logText method to aid developing and debugging by adding developer comments and notes into the TraceView log file. Use the TraceView application to view the log file.

 

 

The following c# example creates an entry in the TraceView log file:

 

 HostConnection oConn=new HostConnection();

 oConn.logText("CategoryEntry""Reached the category entry point.");

 

The above example enters a category value of "CategoryEntry" and a text value of "Reached the category entry point." into the TraceView log file.

 

Requirements

 

Flynet Viewer

 

See Also

 

traceActive

 

Applies To: HostConnection object

 


© 2016 Inventu Corporation, Flynet LTD