Allow log methods to take an object.

This is for string overloaded error objects such as Git::Raw::Error.