You are here

public function TestLogger::clear in SVG Upload Sanitizer 8

1 call to TestLogger::clear()
TestLogger::__construct in tests/src/TestLogger.php

File

tests/src/TestLogger.php, line 29

Class

TestLogger
Class TestLogger.

Namespace

Drupal\Tests\svg_upload_sanitizer

Code

public function clear() {
  $this->logs = [
    'emergency' => [],
    'alert' => [],
    'critical' => [],
    'error' => [],
    'warning' => [],
    'notice' => [],
    'info' => [],
    'debug' => [],
  ];
}