Fix docstring of mock_log