Logic probe