Clarify mock_log docstring as to how and why to use it