'Clear the logs'

def run(self):

    if (self.level == u'error'):
        msg = u'Error    logs    cleared'
        classes.ErrorViewer.clear()
    elif (self.level == u'warning'):
        msg = u'Warning    logs    cleared'
        classes.WarningViewer.clear()
    else:
        return _responds(RESULT_FAILURE, msg=u'Unknown    log    level:    {0}'.format(self.level))
    return _responds(RESULT_SUCCESS, msg=msg)
