Logo Search packages:      
Sourcecode: pythoncard version File versions  Download package

def PythonCard-0.8.1::log::Log::enable (   self  ) 

Enable all logging - levels remain at their current settings.

Definition at line 139 of file log.py.

00139                        :
        """
        Enable all logging - levels remain at their current settings.
        """
        self.enabled = 1

        # If this is the first time logging has been enabled,
        # create a new, empty log file.

        if not self.created:
            if not self.logToStdout:
                file = open(self.fileName, 'w') 
                file.close()
            self.created = 1

    def disable( self ) :


Generated by  Doxygen 1.6.0   Back to index