_LogSwitch

Switches logging on or off

Miscellaneous.au3
_LogSwitch( [ $bLog = True ] )

parameters

$bLog True = Switch logging on, False = Switch off

return value

none

related

_LogIsOn, _LogFile, _LogWrite, _LogDelete, _LogRead

example

_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