General Description of DevTracer Component
DevTracer Component implements an interface which is the
same for the .NET-component and the COM-component.
methods:
void Init(string server, int port)
void Write(string traceInfo)
void WriteLine(string traceInfo)
void Indent()
void Unindent()
properties (setters):
int IndentSize
string ApplicationName
- Init(string server, int port)
DevTracer Component sends the trace information to DevTracer Monitor using TCP/IP. DevTracer
Monitor acts as a TCP/IP server.
This method must be called first to specify the DevTracer Monitor server
and the port to use. The server can either be specified by name (e.g.
localhost) or using an IP-address (e.g. 192.168.1.15).
- Write (string traceInfo)
Sends the string specified to DevTracer Monitor. There it
will be appended to the current line.
- WriteLine (string traceInfo)
Sends the string specified to DevTracer Monitor. It will
be appended to the current line and a new line will be started.
- Indent()
All trace information following a call to this method will be indented by the number
of characters specified by IndentSize. Each call
to Indent will increase the indent level.
- Unindent()
Each call to this method will decrease the indent level by the number of characters
specified by IndentSize.
- IndentSize
The number of characters to use for indenting.
- ApplicationName
Here you can optionally specify a descriptive name for the application using DevTracer Component. This name is displayed in the Window
Title by DevTracer Monitor in MDI
and Tabbed MDI mode.
You should never send formatting characters (Newline, Tab), but do all the formatting
with Indent(), Unindent()
and Writeline() when using Devtracer
component directly.
Use one of the links below to see how to use DevTracer component with your technology.
- .NET
Describes how to use DevTracer Component with .NET (Windows
Forms, ASP.NET)
-
Silverlight
Decribes how to use DevTracer with Silverlight
- Visual Basic 6
Describes how to use DevTracer Component with Visual Basic®
6
- Visual Basic for Applications
Describes how to use DevTracer Component with
Visual Basic for Applications (Excel, Word ...)
- VBScript
DevTracer can be used with scripting languages as well.
Here you find a description how to use Devtracer Component
with VBScript (Visual basic Scripting Edition)
- C++
Describes how to use DevTracer Component with Microsoft
Visual C++®.