Whenever a person shall have been convicted in a municipal court or a magistrates court such person shall have the right, upon petition, to obtain from any circuit judge or justice of the Supreme Court at chambers or in open court a writ of certiorari requiring such municipal court or magistrate to certify the entire record of the case together with a copy of the municipal ordinance or a reference to the statute involved, as the case may be, and including the rulings, findings and sentence, returnable at such time as such circuit judge or justice of the Supreme Court may direct, and upon the hearing of the writ such circuit judge or justice of the Supreme Court shall have the same jurisdiction of the entire matter as circuit judges now have in cases appealed from municipal courts or magistrates courts.
S.C. Code § 18-1-150