Switches logging on or off
Miscellaneous.au3 _LogSwitch( [ $bLog = True ] ) |
$bLog | True = Switch logging on, False = Switch off |
none |
_LogIsOn, _LogFile, _LogWrite, _LogDelete, _LogRead
_LogSwitch( True ) ; switch logging on
....
_LogWrite( "There's a failure over here" ) ;
writes (if logging is on) current date and time plus "There's a ..." to
log file