Each state and county judge is a committing judge and may issue a summons to, or a warrant for the arrest of, a person against whom a complaint is made in writing and sworn to before a person authorized to administer oaths, when the complaint states facts that show that such person violated a criminal law of this state within the jurisdiction of the judge to whom the complaint is presented. The judge may take testimony under oath to determine if there is reasonable ground to believe the complaint is true. The judge may commit the offender to jail, may order the defendant to appear before the proper court to answer the charge in the complaint, or may discharge the defendant from custody or from any undertaking to appear. The judge may authorize the clerk to issue a summons.