def __init__(self, subName, masterLogger, child=True): Logger.__init__(self) self.__child = child for attrName in dir(masterLogger): attrValue = getattr(masterLogger, attrName) if isinstance(attrValue, basestring): setattr(self, attrName, attrValue) self.__masterLogger = masterLogger self._subName = subName
def __init__( self, subName, masterLogger, child = True ): Logger.__init__( self ) self.__child = child for attrName in dir( masterLogger ): attrValue = getattr( masterLogger, attrName ) if type( attrValue ) == types.StringType: setattr( self, attrName, attrValue ) self.__masterLogger = masterLogger self._subName = subName
def __init__( self, subName, masterLogger, child = True ): Logger.__init__( self ) self.__child = child for attrName in dir( masterLogger ): attrValue = getattr( masterLogger, attrName ) if isinstance( attrValue, basestring ): setattr( self, attrName, attrValue ) self.__masterLogger = masterLogger self._subName = subName
def __init__(self, subName, masterLogger, child=True): Logger.__init__(self) self.__child = child for attrName in dir(masterLogger): attrValue = getattr(masterLogger, attrName) if type(attrValue) == types.StringType: setattr(self, attrName, attrValue) self.__masterLogger = masterLogger self._subName = subName