The linear continuity of a function defined on a vector space means that its restriction on every affine line is continuous. For functions defined on $mathbb R^m$ this notion is near to the separate continuity for which it is required only the continuity on the straight lines which are parallel to coordinate axes. The classical Lebesgue theorem states that every separately continuous function $f:mathbb R^mtomathbb R$ is of the $(m-1)$-th Baire class. In this paper we prove that every linearly continuous function $f:mathbb R^mtomathbb R$ is of the first Baire class. Moreover, we obtain the following result. If $X$ is a Baire cosmic topological vector space, $Y$ is a Tychonoff topological space and $f:Xto Y$ is a Borel-measurable (even BP-measurable) linearly continuous function, then $f$ is $F_sigma$-measurable. Using this theorem we characterize the discontinuity point set of an arbitrary linearly continuous function on $mathbb R^m$. In the final part of the article we prove that any $F_sigma$-measurable function $f:partial Uto mathbb R$ defined on the boundary of a strictly convex open set $Usubsetmathbb R^m$ can be extended to a linearly continuous function $bar f:Xto mathbb R$. This fact shows that in the ``descriptive sense the linear continuity is not better than the $F_sigma$-measurability.