Added 'log' block. Closes #26
Merge pull request #27 from arb/log-event

Added 'log' block.