logLevel() public method

See also: Bolt\Twig\Handler\AdminHandler::logLevel()
public logLevel ( $level )
Example #1
0
 public function testLogLevel()
 {
     $app = $this->getApp();
     $handlers = $this->getTwigHandlers($app);
     $handlers['admin'] = $this->getMockHandler('AdminHandler', 'logLevel');
     $twig = new TwigExtension($app, $handlers, true);
     $twig->logLevel(null);
 }