add clear all logs API/view