Jump to content

logging output errors to file

Recommended Posts


what is the actual method to save log datas to file? i mean i dont want direct make lines, i want to see console output in a file.

i would be able to overwrite for example ie.au3 consolewrite lines to an outern function but i wanted to know if there is a better way..?


Edited by vkrisz81
Link to post
Share on other sites
;somthing happened 
_LogEvent("something happened") 

func _LogEvent($event) $file=fileopen("log.txt",1) 
if $file=-1 then msgbox("","","file failed to open") 
filewriteline($file,_Now() & $event) fileclose($file) 

I use something like this 


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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...