title: How to console log data from observable subscription?
body: <p>I have a simple function, included in a service, returning an observable of an object:</p>
  
  <pre><code> private someData;
  
   getDataStream(): Observable&lt;any&gt; {
      return Observable.of(this.someData);
    }
  </code></pre>
  
  <p>I subscribe to this function onInit of a component:</p>
  
  <pre><code>  private somethingsomething;
  
    ngOnInit() {
      this.dataService.getDataStream().subscribe(
        (data) =&gt; {
          this.somethingsomething = data; // WORKS AND ALWAYS UP TO DATE
          console.log(data); // ONLY WORKS ONCE
        }
      )
    }
  </code></pre>
  
  <p>As commented, the data when given to a variable, which is then displayed in the view, is always fine. But the console.log on the other hand is only triggered once, and then never again.</p>
  
  <p>How can I console.log the data whenever it changes?</p>