Created
June 10, 2020 20:02
-
-
Save heitoralthmann/1b6047a8420920eba9d14859ec4eeda3 to your computer and use it in GitHub Desktop.
Drupal 8 watchdog logger dump variable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
\Drupal::logger('some_channel_name')->warning('<pre><code>' . print_r($responseObj, TRUE) . '</code></pre>'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment