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