title: First Name and Last Name are set to NULL - Magento 2
body: <p>is there a way to get, what class call a Particular Observer?</p>
  
  <p>I have this Observer,</p>
  
  <pre><code>public function execute(
  \Magento\Framework\Event\Observer $observer
  ) {
      $customer = $observer-&gt;getEvent()-&gt;getData();
      $eventName = $observer-&gt;getEvent()-&gt;getName();
      $name= $customer-&gt;getFirstname();
      $lastname = $customer-&gt;getLastName();
      $now = date(‘Y-m-d H:i:s’);
      $this-&gt;logger-&gt;info($now.'CUSTOMER_SAVE_BEFORE____________’);
      $this-&gt;logger-&gt;info("Event Name: ".$eventName);
      $this-&gt;logger-&gt;info('Name: ', $name);
      $this-&gt;logger-&gt;info('Lastname: ', $lastname);
      $this-&gt;logger-&gt;info($now.’______________________________________________________________’);
  
  }
  </code></pre>
  
  <p>I need to log, What class Call this Observer, I have an issue on a Magento 2.2.4 Project. Sometimes First Name and Last Name of logged customers are set to NULL, I'm going crazy to understand what is causing this issue...</p>
  
  <p>Thanks
  Leonardo</p>