Format log messages, rename _format_command to _format, as it\'s more generally used now. Fixes #14