(self, s, e)
Output exception message to stdout and also to the log file if debugging is required.
        :s: A description for the error
        :e: The exception
Output exception message to stdout and also to the log file if debugging is required.
        :s: A description for the error
        :e: The exception
Output exception message to stdout and also to the log file if debugging is required . : s : A description for the error : e : The exception
def _print_exception(self, s, e):
        """
        Output exception message to stdout and also to the log file if debugging is required.
        :s: A description for the error
        :e: The exception
        """
        
        # Output exception message
        sys.stdout.write("\n{0}: {1} \n\n".format(s, e))
        
        if self.debug:
            with open(self.logfile,'a') as f:
                f.write("\n{0}: {1} \n\n".format(s, e))
def _print_exception ( self , s , e ) : # Output exception message sys . stdout . write ( "\n{0}: {1} \n\n" . format ( s , e ) ) if self . debug : with open ( self . logfile , 'a' ) as f : f . write ( "\n{0}: {1} \n\n" . format ( s , e ) )