Sign in to follow this  
Followers 0
ecstatic

Creating Function with log not wokring

2 posts in this topic

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?

Share this post


Link to post
Share on other sites



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]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0