private function writeToOutputNow($output, $handlerContentType)
    {
        /** @var Response $Response */
        $Response = $this->system->ResIns();
        // If can do browser output
        if ($Response instanceof Response) {
            if ($this->sendHttpCode()) {
                $Response->withStatus($this->sendHttpCode());
            }
            $Response->withHeader('Content-Type', $handlerContentType);
            $Response->write($output);
            $Response->response();
            $Response->end(true);
        } else {
            Logger::getInstance()->console($output);
        }
    }