In inquires and trials (other than summary trials) under this Code by or before a Magistrate or Sessions Judge, the evidence of the witnesses shall be recorded in the following manner. ...