A few weeks ago a pair of jackwads got to chatting right in front of a green for over 5 minutes and ignored my repeated whistles and yells to get their attention and get them moving. I spotted a marshal right after I finished that hole, told him about the twosome and asked him to keep an eye on them. He offered to go talk to them right away, but I asked him just to see how they were doing over the next hole or two and say something to them if they continued to slow down play. I thought that was a fair way to deal with it, since once they woke up out of their social session and realized they weren't the only ones on the course, they seemed to putt out quickly and I guessed they wouldn't be an issue any further. That turned out to be the case. One hole later, they were out of sight; they might have been a pro and a student in the midst of a playing lesson who lost track of time and where they were and then went back to the range.
If it was something a bit more egregious, like actual damage to the course, I'd definitely tell a ranger or marshal about it with the expectation that they'd chew out the bozos. This summer I was playing miniature golf with my family when this dork teenage boy, who was trying to show off how cool he was to his date, started kicking his leg up and over the rotating blades of a windmill on the course. The moron got his sandle caught on the blade and down came toolish teen with an 8' tall miniature Dutch windmill on top of him. When a manager came out to see what had happened, he lied and said "I just kind of backed into it by accident and it fell over." It looked like he had actually broken the windmill, so a minute later I went up to the manager and told her "If he actually broke the windmill, you should make his parents pay for it because that wasn't just an accident - I saw him and he was deliberately screwing around trying to impress the girl with him."