Do not write log lines if nothing to write

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37911
    HeDiBo
    Participant

    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;
    #58285
    Support
    Keymaster

    You are right, saving the file is not needed in this case )

    #58305
    HeDiBo
    Participant
    'Support' wrote:

    You are right, saving the file is not needed in this case )

    Solved in 13.19 a3.gif

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.