TraceEx Method

Top  Previous  Next

Allows to insert custom string data into the trace file.

 

Visual Basic Syntax

 

TNBXTrace.TraceEx (Kind as Integer, Msg as String)

 

Delphi Syntax

 

TNBXTrace.TraceEx (Kind:integer; Msg:string);

 

 

Remarks

 

This method can be used for debugging purposes by making an entry with String content into the trace file. Also has a kind parameter to identify the message kind.

 

The following table lists different values for kind parameter an its meaning.

 

Long Value

Meaning

0

Error

1

Info

2

StartPage

3

EndPage

4

StartMethod

5

EndMethod

6

SetProperty

7

SetVariable

8

Event

9

FieldsReceived

10

SendingFields

11

Connected

12

Disconnected

13

SendAid