to add flush and write value in the logger.py