<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def query_log_filename(self, idx):
 """Queries for the VM log file name of an given index. Returns an empty string if a log file with that index doesn't exists. in idx of type int Which log file name to query. 0=current log file. return filename of type str On return the full path to the log file or an empty string on error. """

        if not isinstance(idx, baseinteger):
            raise TypeError("idx can only be an instance of type baseinteger")
        filename = self._call("queryLogFilename",
                     in_p=[idx])
        return filename