Skip to content

Commit

Permalink
Updated log to include time and day
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAlienDoctor committed Jan 18, 2023
1 parent ff0583e commit fd32611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.au3
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Func logWrite($spaces, $content)
EndIf

FileOpen($logDir & "\log.latest", 1)
FileWrite($logDir & "\log.latest", "[" & @MDAY & "/" & @MON & "/" & @YEAR & " @ " & @HOUR & ":" & @MIN & ":" & @SEC & "]: " & $content & @CRLF)
FileWrite($logDir & "\log.latest", @MDAY & "/" & @MON & "/" & @YEAR & " @ " & @HOUR & ":" & @MIN & ":" & @SEC & " > " & $content & @CRLF)
FileClose($logDir & "\log.latest")

If $spaces = 1 Then
Expand Down

0 comments on commit fd32611

Please sign in to comment.