Added 'log' block.

Closes #26