Writes current date, time and the specified text to a log file
_FileWriteLog ( $sLogPath, $sLogMsg [, $iFlag = -1] )
|$sLogPath||Path of the file to write to, or a file handle returned from FileOpen().|
|$sLogMsg||Message to be written to the log file|
|$iFlag||[optional] Flag that defines if $sLogMsg will be written to the end of file, or to the beginning.
If $iFlag = -1 (default) $sLogMsg will be written to the end of file.
Otherwise $sLogMsg will be written to beginning of file.
|Failure:||0 and sets the @error flag to non-zero.|
|@error:||1 - Error opening specified file
2 - File could not be written to
|@extended:||1 if trying to write at the beginning using file handle|