diff --git a/README.md b/README.md index c78a5d5..39cc05b 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,7 @@ class ChattyLogger extends \Psr\Log\AbstractLogger if (!empty($context)) { echo 'Context:
'.print_r($context,true).''; } + echo '

'; } } @@ -332,7 +333,7 @@ unset($event->productId); ### Sending or Queuing the Event -Once you have set all the event properties, you can then send or queue the event, just by calling `$amplitude->queueEvent()` or `$amplitude->sendEvent()`. +Once you have set all the event properties, you can then send or queue the event, just by calling `$amplitude->queueEvent()` or `$amplitude->logEvent()`. Note: If you just created a new `Event` object, before calling `queueEvent()` or `logEvent()`, you must pass that event into amplitude like this: ```php