Does Log Operate in "Run a Script" Actions?

I’m looking for a better debug option than [display dialog]. Does Applescript’s log function operate correctly in this sort of script (attached to a graphic as an action)? Where would we see results for this?