def writeActionLog(self):
        """ This method just logs the logStr into log-action-file and increments
        the entry-count
        
        :Parameters:
            - None 
            
        :Returns:
            - None    
            
        :Raises:
            -`FileHandlingException` : Raised when the script encounters an
                                        IOError.
        """
        try:
                """ Opening the file in append mode and writing to it """
                self._logHandle = open(self._actionLogName, 'a+')
                
                self._logHandle.write(self._logStr)
                
                """ Incrementing the entry count """                
                self._maxEntryCount += 1
                
                print('The action log string written to the file')
                self._logHandle.close()
        except IOError:
                print('ActionLogFile could not be written to.')
 This method just logs the logStr into log-action-file and increments
        the entry-count
        
        :Parameters:
            - None 
            
        :Returns:
            - None    
            
        :Raises:
            -`FileHandlingException` : Raised when the script encounters an
                                        IOError.
        
recipes/Python/440477_Writes_logfiles_and_keep_backups/recipe-440477.py