Use string interpolation in debug output

This commit is contained in:
Clemens 2021-07-06 18:49:48 +02:00
parent 7aaa4ed25e
commit c0d3635317
19 changed files with 47 additions and 47 deletions

View file

@ -26,7 +26,7 @@ namespace MapControl.Caching
}
catch (Exception ex)
{
Debug.WriteLine("SQLiteCache.GetAsync({0}): {1}", key, ex.Message);
Debug.WriteLine($"SQLiteCache.GetAsync({key}): {ex.Message}");
}
return null;
@ -43,7 +43,7 @@ namespace MapControl.Caching
}
catch (Exception ex)
{
Debug.WriteLine("SQLiteCache.SetAsync({0}): {1}", key, ex.Message);
Debug.WriteLine($"SQLiteCache.SetAsync({key}): {ex.Message}");
}
}
}