(2) Upon a complaint made in writing and on oath before the court in respect of any summary offence, the court may, upon good cause being shown, and upon oath being made before the court substantiating the matter of such complaint to the satisfaction of the court, instead of a summons, issue a warrant to arrest the person against whom such complaint has been made, and to bring him or her before the court to answer to the complaint, and to be further dealt with according to law.