SetLoggingProperties method
Applies to |
---|
This method sets the logging device passed in lDevice to any of the following:
0 |
No logging |
1 |
Log to debug window. You will need a Windows debug application to do this. |
2 |
Reserved. |
3 |
Shows a top-level window where the log is displayed. |
4 |
The log output is placed in a file named itralog.txt in the program's Log directory(for example C:\Users\Public\ReadSoft\INVOICES\Log\itralog.txt in the newer operating systems). If the file does not exist, it is created. If it does exist, the new output is appended to the end of the file. |
The bits in lLogMask determine which events to log:
1 |
All events fired |
2 |
All events that has a handler |
3 |
All method calls |
4 |
Reserved |
5 |
If set, the log string will contain a time and date stamp |
6-32 |
Reserved for future use |
Return Type
Boolean
Syntax
object.SetLoggingProperties( Device As Long, LogMask As Long)
Part |
Description |
---|---|
object |
An expression evaluating to an object listed in the 'Applies to' table above. |
Device |
A long value. |
LogMask |
A long value. |