ecstatic Posted May 22, 2009 Share 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? Link to comment Share on other sites More sharing options...
herewasplato Posted May 22, 2009 Share 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] Link to comment Share on other sites More sharing options...
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