Logger.html.twig in Drupal 7 to 8/9 Module Upgrader 8
Contains \Drupal\{{ module }}\Logger\DefaultLogger.
File
templates/Logger.html.twigView source
- /**
- * @file
- * Contains \Drupal\{{ module }}\Logger\DefaultLogger.
- */
-
- namespace Drupal\{{ module }}\Logger;
-
- use Psr\Log\LoggerInterface;
- use Psr\Log\LoggerTrait;
-
- class DefaultLogger implements LoggerInterface {
-
- use LoggerTrait;
-
- /**
- * {@inheritdoc}
- */
- public function log($level, $message, array $context = []) {
- /**
- * @FIXME
- * Port your hook_watchdog() logic here.
- */
- }
-
- }