Utah Code Ann. § 77-3-2
The magistrate shall examine, on oath, the complainant and any witnesses he may produce and may take their testimony in writing.