private function removeErrorLogHeaderFromEachLine($content) { return preg_replace('/^\\[[^\\]]+\\]\\s*/m', '', $content); }