sregistry/logger/message.py
def addColor(self, level, text):
        '''addColor to the prompt (usually prefix) if terminal
        supports, and specified to do so'''
        if self.colorize:
            if level in self.colors:
                text = "%s%s%s" % (self.colors[level],
                                   text,
                                   self.colors["OFF"])
        return text
def addColor(self, level, text):
        '''addColor to the prompt (usually prefix) if terminal
        supports, and specified to do so'''
        if self.colorize:
            if level in self.colors:
                text = "%s%s%s" % (self.colors[level],
                                   text,
                                   self.colors["OFF"])
        return text
def addColor ( self , level , text ) : if self . colorize : if level in self . colors : text = "%s%s%s" % ( self . colors [ level ] , text , self . colors [ "OFF" ] ) return text
addColor to the prompt (usually prefix) if terminal
        supports, and specified to do so
addColor to the prompt ( usually prefix ) if terminal supports and specified to do so