Okla. Stat. tit. 21, § 568
Whenever a person shall be imprisoned for contempt the substance of the offense shall be set forth in the order for his confinement, and made a matter of record in the court.
R.L. 1910, § 2280.