Created
May 3, 2018 02:21
-
-
Save signalpoint/97f82867b4d38ea4ef7c6f88f7d30797 to your computer and use it in GitHub Desktop.
Drupal 8 watchdog example
This file contains 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('example')->notice('Hello world'); | |
\Drupal::logger('example')->notice('<pre>' . print_r($foo, TRUE) . '</pre>'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment