When a crime is committed in the presence of a magistrate, the magistrate may, by a verbal or written order, command any person to arrest the offender and may thereupon proceed as if the offender had been brought before the magistrate upon a warrant of arrest.
ORS 133.340