Class names in Debug output

This commit is contained in:
ClemensFischer 2024-08-31 16:39:49 +02:00
parent 84cd6e2f9a
commit aa6018cf0e
18 changed files with 64 additions and 66 deletions

View file

@ -117,7 +117,7 @@ namespace MapControl
}
catch (Exception ex)
{
Debug.WriteLine($"WmsImageLayer: {uri}: {ex.Message}");
Debug.WriteLine($"{nameof(WmsImageLayer)}: {uri}: {ex.Message}");
}
}
}
@ -147,7 +147,7 @@ namespace MapControl
}
catch (Exception ex)
{
Debug.WriteLine($"WmsImageLayer: {uri}: {ex.Message}");
Debug.WriteLine($"{nameof(WmsImageLayer)}: {uri}: {ex.Message}");
}
}
}
@ -334,7 +334,7 @@ namespace MapControl
}
catch (Exception ex)
{
Debug.WriteLine($"WmsImageLayer: {uri}: {ex.Message}");
Debug.WriteLine($"{nameof(WmsImageLayer)}: {uri}: {ex.Message}");
}
}