Enhance logging of output captured from tools (MSBuild, CppCheck etc) to identify warning and error messages and log at the appropriate level.