def format(self,record):
        """overridden from the ancestor class to take a log record and output a JSON formatted string.
        
           Args:
               record    : log record to output to JSON log
           Returns:
               A JSON formatted string        
        """
        self._formattime(record)
        jsondata = self._getjsondata(record)
        formattedjson = dumps(jsondata, cls=self.customjson)
        return formattedjson
overridden from the ancestor class to take a log record and output a JSON formatted string.
        
           Args:
               record    : log record to output to JSON log
           Returns:
               A JSON formatted string        
        
recipes/Python/580667_JSON_Formatted_Logging/recipe-580667.py