[TASK] Protect bootstrap methods
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Log / LogRecord.php
index 2329dde..69a2bdf 100644 (file)
@@ -108,7 +108,12 @@ class LogRecord implements \ArrayAccess {
         * @param array $data Additional data
         */
        public function __construct($component = '', $level, $message, array $data = array()) {
-               $this->setRequestId(\TYPO3\CMS\Core\Core\Bootstrap::getInstance()->getRequestId())->setCreated(microtime(TRUE))->setComponent($component)->setLevel($level)->setMessage($message)->setData($data);
+               $this->setRequestId(\TYPO3\CMS\Core\Core\Bootstrap::getInstance()->getRequestId())
+                       ->setCreated(microtime(TRUE))
+                       ->setComponent($component)
+                       ->setLevel($level)
+                       ->setMessage($message)
+                       ->setData($data);
        }
 
        /**