Done log file, log print automaticaly log writes
This commit is contained in:
@@ -90,8 +90,9 @@ end]]
|
||||
|
||||
function logPrint(string)
|
||||
if logging then print(string) end
|
||||
logWrite(string)
|
||||
end
|
||||
|
||||
function logWrite(string)
|
||||
if logging then print(string) end
|
||||
if logging then love.filesystem.append(logFile, string) end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user