[ALL] Use params variant for logging

This commit is contained in:
Matt Nadareski
2017-08-26 14:11:10 -07:00
parent 06d9980b9b
commit 47f70838f1
17 changed files with 120 additions and 120 deletions

View File

@@ -335,11 +335,11 @@ namespace RombaSharp
SqliteDataReader sldr = slc.ExecuteReader();
if (sldr.HasRows)
{
Globals.Logger.User("For hash '" + input + "' there were " + sldr.RecordsAffected + " matches in the database");
Globals.Logger.User("For hash '{0}' there were {1} matches in the database", input, sldr.RecordsAffected);
}
else
{
Globals.Logger.User("Hash '" + input + "' had no matches in the database");
Globals.Logger.User("Hash '{0}' had no matches in the database", input);
}
sldr.Dispose();
@@ -352,11 +352,11 @@ namespace RombaSharp
SqliteDataReader sldr = slc.ExecuteReader();
if (sldr.HasRows)
{
Globals.Logger.User("For hash '" + input + "' there were " + sldr.RecordsAffected + " matches in the database");
Globals.Logger.User("For hash '{0}' there were {1} matches in the database", input, sldr.RecordsAffected);
}
else
{
Globals.Logger.User("Hash '" + input + "' had no matches in the database");
Globals.Logger.User("Hash '{0}' had no matches in the database", input);
}
sldr.Dispose();
@@ -369,11 +369,11 @@ namespace RombaSharp
SqliteDataReader sldr = slc.ExecuteReader();
if (sldr.HasRows)
{
Globals.Logger.User("For hash '" + input + "' there were " + sldr.RecordsAffected + " matches in the database");
Globals.Logger.User("For hash '{0}' there were {1} matches in the database", input, sldr.RecordsAffected);
}
else
{
Globals.Logger.User("Hash '" + input + "' had no matches in the database");
Globals.Logger.User("Hash '{0}' had no matches in the database", input);
}
sldr.Dispose();