(self, logfile = None, verbose = True)
@type  logfile: str or None
        @param logfile: Append messages to this text file.

        @type  verbose: bool
        @param verbose: C{True} to print messages to standard output.
@type  logfile: str or None
        @param logfile: Append messages to this text file.
@type logfile : str or None @param logfile : Append messages to this text file .
def __init__(self, logfile = None, verbose = True):
        """
        @type  logfile: str or None
        @param logfile: Append messages to this text file.

        @type  verbose: bool
        @param verbose: C{True} to print messages to standard output.
        """
        self.verbose = verbose
        self.logfile = logfile
        if self.logfile:
            self.fd = open(self.logfile, 'a+')
def __init__ ( self , logfile = None , verbose = True ) : self . verbose = verbose self . logfile = logfile if self . logfile : self . fd = open ( self . logfile , 'a+' )