When the person brought before a judge under section 2725.12 of the Revised Code is confined or detained in a legal manner on a charge of having committed a crime or offense which is bailable, the judge may recommit him or let him to bail. If such person is let to bail, the judge shall require him to enter into a recognizance, with sufficient surety, in such sum as the judge finds reasonable, after considering the circumstances of the prisoner and the nature of the offense charged, and conditioned for his appearance at the court where the offense is properly cognizable. The judge forthwith shall certify his proceedings, together with any recognizance, to the proper court. If the person charged fails to give such recognizance, he shall be committed to prison by the judge.
R.C. §2725.18