If any person, without reasonable excuse, fails to attend as a witness, or to testify as lawfully required before any arbitrator, coroner, medical examiner, board, commission, commissioner, examiner, committee, or other officer or person authorized to take testimony, or to produce a book or paper which the person was lawfully directed to bring, or to subscribe the person's deposition when correctly reduced to writing, any judge of a court of record or a circuit court commissioner in the county where the person was obliged to attend may, upon sworn proof of the facts, issue an attachment for the person, and unless the person shall purge the contempt and go and testify or do such other act as required by law, may commit the person to close confinement in the county jail until the person shall so testify or do such act, or be discharged according to law. The sheriff of the county shall execute the commitment.
Wis. Stat. § 885.12