parameters: (self, value)
docstring: The logger file.
  
          If the logger_file is None, then add stream handler and remove file
          handler. Otherwise, add file handler and remove stream handler.
  
          :param value: The logger_file path.
          :type: str
docstring_summary: The logger file.
docstring_tokens: The logger file .
function: def logger_file(self, value):
          """The logger file.
  
          If the logger_file is None, then add stream handler and remove file
          handler. Otherwise, add file handler and remove stream handler.
  
          :param value: The logger_file path.
          :type: str
          """
          self.__logger_file = value
          if self.__logger_file:
              # If set logging file,
              # then add file handler and remove stream handler.
              self.logger_file_handler = logging.FileHandler(self.__logger_file)
              self.logger_file_handler.setFormatter(self.logger_formatter)
              for _, logger in self.logger.items():
                  logger.addHandler(self.logger_file_handler)
function_tokens: def logger_file ( self , value ) : self . __logger_file = value if self . __logger_file : # If set logging file, # then add file handler and remove stream handler. self . logger_file_handler = logging . FileHandler ( self . __logger_file ) self . logger_file_handler . setFormatter ( self . logger_formatter ) for _ , logger in self . logger . items ( ) : logger . addHandler ( self . logger_file_handler )