'This method is used by the w3af console to print messages to the outside'

def console(self, msg_string, new_line=True):

    _id = self.get_log_id()
    m = Message(CONSOLE, self._clean_string(msg_string), _id)
    self.log[_id] = m
