Esempio n. 1
0
 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
Esempio n. 2
0
 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
Esempio n. 3
0
 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
Esempio n. 4
0
 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