Tweaked error messages to better represent errorlevel

Changed a few ERROR level log messages to WARN as that better represents their classification.
This commit is contained in:
Terry MacDonald 2022-04-10 09:40:28 +12:00
parent 0c3dab719a
commit e4aab07b03
2 changed files with 16 additions and 15 deletions

View File

@ -26,8 +26,8 @@ using System.Resources;
[assembly: Guid("e4ceaf5e-ad01-4695-b179-31168eb74c48")]
// Version information
[assembly: AssemblyVersion("2.3.0.32")]
[assembly: AssemblyFileVersion("2.3.0.32")]
[assembly: AssemblyVersion("2.3.0.35")]
[assembly: AssemblyFileVersion("2.3.0.35")]
[assembly: NeutralResourcesLanguageAttribute( "en" )]
[assembly: CLSCompliant(true)]

View File

@ -534,19 +534,20 @@ namespace DisplayMagicianShared.NVIDIA
}
else
{
SharedLogger.logger.Error($"NVIDIALibrary/GetNVIDIADisplayConfig: The returned Mosaic Topology Group #{m} is NOT VALID and cannot be used.");
}
if (mosaicTopoDetail.TopologyMissingGPU)
{
SharedLogger.logger.Error($"NVIDIALibrary/GetNVIDIADisplayConfig: The returned Mosaic Topology Group #{m} is MISSING THE GPU it was created with.");
}
if (mosaicTopoDetail.TopologyMissingDisplay)
{
SharedLogger.logger.Error($"NVIDIALibrary/GetNVIDIADisplayConfig: The returned Mosaic Topology Group #{m} is MISSING ONE OR MORE DISPLAYS it was created with.");
}
if (mosaicTopoDetail.TopologyMixedDisplayTypes)
{
SharedLogger.logger.Error($"NVIDIALibrary/GetNVIDIADisplayConfig: The returned Mosaic Topology Group #{m} is USING MIXED DISPLAY TYPES and NVIDIA don't support that at present.");
SharedLogger.logger.Warn($"NVIDIALibrary/GetNVIDIADisplayConfig: The returned Mosaic Topology Group #{m} is NOT VALID and cannot be used.");
if (mosaicTopoDetail.TopologyMissingGPU)
{
SharedLogger.logger.Warn($"NVIDIALibrary/GetNVIDIADisplayConfig: The returned Mosaic Topology Group #{m} is MISSING THE GPU it was created with.");
}
if (mosaicTopoDetail.TopologyMissingDisplay)
{
SharedLogger.logger.Warn($"NVIDIALibrary/GetNVIDIADisplayConfig: The returned Mosaic Topology Group #{m} is MISSING ONE OR MORE DISPLAYS it was created with.");
}
if (mosaicTopoDetail.TopologyMixedDisplayTypes)
{
SharedLogger.logger.Warn($"NVIDIALibrary/GetNVIDIADisplayConfig: The returned Mosaic Topology Group #{m} is USING MIXED DISPLAY TYPES and NVIDIA don't support that at present.");
}
}
}
}