The sole object of Logic is the guidance of one's own thoughts: the communication of those thoughts to others falls under the consideration of Rhetoric, in the large sense in which that art was conceived by the ancients; or of the still more extensive art of Education.
 John Stuart Mill, A System Of Logic, Ratiocinative And Inductive (1843). copy citation

Context

“Other purposes, indeed, are also served by these operations; for instance, that of imparting our knowledge to others. But, viewed with regard to this purpose, they have never been considered as within the province of the logician. The sole object of Logic is the guidance of one's own thoughts: the communication of those thoughts to others falls under the consideration of Rhetoric, in the large sense in which that art was conceived by the ancients; or of the still more extensive art of Education. Logic takes cognizance of our intellectual operations only as they conduce to our own knowledge, and to our command over that knowledge for our own uses. If there were but one rational being in the universe, that being might be a perfect logician; and the science and art of logic would be the same for that one person as for the whole human race.
source