Logger.html.twig
418 Bytes
/**
* @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 = array()) {
/**
* @FIXME
* Port your hook_watchdog() logic here.
*/
}
}