It shall be lawful for any person owning any logs, spars, spiles, boomstick, shinglebolt, timber, railroad ties, posts or lumber floating, lying or being in any of the streams or waters in this state, his servants and employes, and for any corporation entitled to the possession thereof and its employes, to search and examine any and all rafts of logs, and all spiles, railroad ties, posts, logs whether in rafts or booms or wherever situate in said waters or on the banks, or shores thereof, and all mills engaged in manufacturing logs into lumber, timber or shingles, situated upon or near such waters, to ascertain whether any log, spar, boomstick, shinglebolt, timber or lumber belonging to such person, or to which such corporation is entitled, may be there found; and any person who shall willfully obstruct or hinder any person engaged in such search or examination, shall be punished by a fine not more than 50 dollars, or by imprisonment in the county jail not exceeding 6 months, or by both such fine and imprisonment in the discretion of the court.
MCL 426.158