LoggerStub.php
Same filename in other branches
Namespace
Drupal\logger_aware_testFile
-
core/
modules/ system/ tests/ modules/ logger_aware_test/ src/ LoggerStub.php
View source
<?php
declare (strict_types=1);
namespace Drupal\logger_aware_test;
use Psr\Log\AbstractLogger;
/**
* A logger stub.
*/
class LoggerStub extends AbstractLogger {
/**
* {@inheritdoc}
*/
public function log($level, $message, array $context = []) : void {
// Do nothing.
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
LoggerStub | A logger stub. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.