You are here

public function TestLogger::log in SVG Upload Sanitizer 8

8 calls to TestLogger::log()
TestLogger::alert in tests/src/TestLogger.php
TestLogger::critical in tests/src/TestLogger.php
TestLogger::debug in tests/src/TestLogger.php
TestLogger::emergency in tests/src/TestLogger.php
TestLogger::error in tests/src/TestLogger.php

... See full list

File

tests/src/TestLogger.php, line 42

Class

TestLogger
Class TestLogger.

Namespace

Drupal\Tests\svg_upload_sanitizer

Code

public function log($level, $message, array $context = []) {
  $this->logs[$level][] = $message;
}