A magistrate may punish for contempt of court a person guilty of any of the following acts:
A magistrate may, if necessary, issue a warrant of arrest for such person, who shall be given an opportunity to be heard. In the event such person is adjudged guilty of contempt, the person may be fined not more than fifty dollars for the first offense. For a second offense pertaining to the same matter the person may be fined not more than one hundred dollars. For the third or any subsequent offense pertaining to the same matter the person may be fined not more than one hundred dollars, or imprisoned in the county jail not more than ten days, or both fined and imprisoned.
An appeal to the circuit court of such conviction shall lie as in criminal cases.
W. Va. Code § 50-5-11