think\exception\Handle::renderForConsole PHP 메소드

renderForConsole() 공개 메소드

public renderForConsole ( Output $output, Exception $e )
$output think\console\Output
$e Exception
    public function renderForConsole(Output $output, Exception $e)
    {
        if (App::$debug) {
            $output->setVerbosity(Output::VERBOSITY_DEBUG);
        }
        $output->renderException($e);
    }