Do not write log lines if nothing to write Root › Technical support › Troubleshooting This topic has 2 replies, 2 voices, and was last updated 6 years, 2 months ago by HeDiBo. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts August 17, 2018 at 12:54 pm #37911 HeDiBoParticipant In sDebugMsgs, I would like to skip writing the LogLines, if none are present: Code: finalization if LogLines <> nil then begin if LogLines.Count > 0 then LogLines.SaveToFile(LogFile); LogLines.Free; end; August 20, 2018 at 8:50 am #58285 SupportKeymaster You are right, saving the file is not needed in this case ) August 24, 2018 at 1:29 pm #58305 HeDiBoParticipant 'Support' wrote: You are right, saving the file is not needed in this case ) Solved in 13.19 Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In Root › Technical support › Troubleshooting