private $httpCode, $header, $content;
/**
- * Constructor
- *
* @param int $httpCode HTTP status code to send to the client
* @param string|Message $content Content of the message
* @param string|Message|null $header Content of the header (\<title\> and \<h1\>)
$content = $content->text();
}
- $context = array(
+ $context = [
'file' => $this->getFile(),
'line' => $this->getLine(),
'http_code' => $this->httpCode,
- );
+ ];
$logMsg = "$content ({http_code}) from {file}:{line}";