add clear method for test logger