anchor.diff:    if not (aLogType in MessageTypes) then // write into log only for allowed types
       Exit;
   
  +  lockedHere := False;
     // Lock/Unlock only when in multithread logging mode. Its quite rare, so we do not need all the time
     if MultithreadLogging then
  +  begin
       Lock;
  +    lockedHere := True;
  +  end;
     try
       if not FileExists(fLogPath) then
         InitLog;  // Recreate log file, if it was deleted
  
positive.code: constructor TKMLog.Create(const aPath: UnicodeString);
  begin
    inherited Create;
    MultithreadLogging := False;
    fLogPath := aPath;
    fFirstTick := TimeGet;
    fPreviousTick := TimeGet;
  
negative.code: //Add line but without timestamp
  procedure TKMLog.AddLineNoTime(const aText: UnicodeString; aLogType: TKMLogMessageType; aWithPrefix: Boolean = True;
                                 aDoCloseFile: Boolean = True);
  var
    lockedHere: Boolean;
  begin
    if Self = nil then Exit;
  
  