Answers for "drupal logger"

0

drupal logger

<?php
// Logs a notice
\Drupal::logger('my_module')->notice($message);
// Logs an error
\Drupal::logger('my_module')->error($message);
?>
Posted by: Guest on October-27-2021

Browse Popular Code Answers by Language