This is a nice way for drupal 8 to log array data in some readable format.
\Drupal::logger('what_a_nice_logName')->warning('<pre><code>' . print_r($jsonObj, TRUE) . '</code></pre>');
This is a nice way for drupal 8 to log array data in some readable format.
\Drupal::logger('what_a_nice_logName')->warning('<pre><code>' . print_r($jsonObj, TRUE) . '</code></pre>');