ecstatic Posted May 22, 2009 Posted May 22, 2009 Im kind of new to creating these kind of functions. Func Log($Message) FileWriteLine($FILE, "Program: " & $Message & @HOUR & ":" & @MIN & @LF) Endfunc But what is wrong with that?
herewasplato Posted May 22, 2009 Posted May 22, 2009 Im kind of new to creating these kind of functions. Func Log($Message) FileWriteLine($FILE, "Program: " & $Message & @HOUR & ":" & @MIN & @LF) Endfunc But what is wrong with that?You might want to look into _FileWriteLog() Writes current date,time and the specified text to a log file. #Include <File.au3> _FileWriteLog($sLogPath, $sLogMsg[, $iFlag = -1]) [size="1"][font="Arial"].[u].[/u][/font][/size]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now