Add a log command.

What the title says ^.