| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 24 | public function run($request = null) | ||
| 25 |     { | ||
| 26 | /** @var LoggerInterface $logger */ | ||
| 27 | $logger = Injector::inst()->get(LoggerInterface::class); | ||
| 28 | |||
| 29 |         foreach (Logger::getLevels() as $name => $value) { | ||
| 30 | $func = strtolower($name); | ||
| 31 |             $logger->$func(sprintf("Testing Severity Level: %s", $name)); | ||
| 32 |             self::output(sprintf("Security Level: %s", $name)); | ||
| 33 | } | ||
| 34 | } | ||
| 35 | |||
| 42 |