This question has been answered by treigh. See the first response.
// Verify Inputs
if (!isset($scriptProperties['x']) || !isset($scriptProperties['y'])) {
$modx->log(modX::LOG_LEVEL_ERROR, '[mySnippet] missing required properties &x and &y!');
return;
}
$modx->log(modX::LOG_LEVEL_ERROR, '[snippet name] is executing');