|
| |
|
| | NTpageSetDebugFile(StartStop, FileName, LoggingLevel, MaxSize)
| |
| | | Description:
Turns on the writing of a debug file. If you are having difficulties, this file will help you track down exactly where the problem is. This will also assist the NTpage support staff in helping you solve the problem.
Parameters:
StartStop - Should be set to "START" to begin the debug file or "STOP" to stop writing to the debug file
FileName - This is the full path name of the file you wish to create and write debug information to. (i.e. C:\NTPAGE\NTPAPI32.LOG
LoggingLevel - This will restrict the severity of messages written to the file. LoggingLevel "0" will write ALL available logging message.
LoggingLevel "1" will write just error, and LoggingLevel "2" are severe errors.
MaxSize - The log file will only grow to this size. When it hits this size, the file is renamed to FileName.BAK and a new FileName is created. The previous .BAK file is purged.
Return Values:
0 Successful
-1 Invalid Parameter
|