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

@ -43,7 +43,7 @@ namespace MapControl.Caching
command.ExecuteNonQuery();
}
Debug.WriteLine("SQLiteCache: Opened database " + path);
Debug.WriteLine($"SQLiteCache: Opened database {path}");
return connection;
}
@ -66,7 +66,7 @@ namespace MapControl.Caching
var deleted = (long)command.ExecuteScalar();
if (deleted > 0)
{
Debug.WriteLine("SQLiteCache: Deleted {0} expired items.", deleted);
Debug.WriteLine($"SQLiteCache: Deleted {deleted} expired items");
}
}
#endif