def write(self, data):
        """
        Write some data to the file.
        """
        BaseLogFile.write(self, data)
        self.size += len(data)

        Write some data to the file.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/logfile.py