StopLogging()
|
Previous Top Next |
:StopLogging() --> .T. (TRUE)
|
None.
|
This method always returns .T. (TRUE)!
|
Stops and Disables Logging and closes the current Log File. If no Log File is open or logging was already disabled, nothing will change.
|
Create a new XbZLibZip object, and start Logging to Log File "MyArchive.log". Then open an existing Zip File named "MyArchive.zip" in Test mode, which will log the complete test and its result. Then Stop Logging and Extract All files to the current directory (without logging), and then close the Zip File.:
|
oZip := XbZLibZip():New()
|
oZip:StartLogging("MyArchive.log")
|
oZip:Open('MyArchive.zip', XBZ_OPEN_TEST)
|
oZip:StopLogging()
|
oZip:ExtractAll()
|
oZip:Close()
|