function LoggerStub::log

Same name in other branches
  1. 11.x core/modules/system/tests/modules/logger_aware_test/src/LoggerStub.php \Drupal\logger_aware_test\LoggerStub::log()

File

core/modules/system/tests/modules/logger_aware_test/src/LoggerStub.php, line 15

Class

LoggerStub
A logger stub.

Namespace

Drupal\logger_aware_test

Code

public function log($level, $message, array $context = []) : void {
    // Do nothing.
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.