mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Instance logging with backing static class instead of Global
This commit is contained in:
@@ -82,11 +82,11 @@ namespace RombaSharp.Features
|
||||
count++;
|
||||
}
|
||||
|
||||
Globals.Logger.User($"For hash '{input}' there were {count} matches in the database");
|
||||
logger.User($"For hash '{input}' there were {count} matches in the database");
|
||||
}
|
||||
else
|
||||
{
|
||||
Globals.Logger.User($"Hash '{input}' had no matches in the database");
|
||||
logger.User($"Hash '{input}' had no matches in the database");
|
||||
}
|
||||
|
||||
sldr.Dispose();
|
||||
@@ -105,11 +105,11 @@ namespace RombaSharp.Features
|
||||
count++;
|
||||
}
|
||||
|
||||
Globals.Logger.User($"For hash '{input}' there were {count} matches in the database");
|
||||
logger.User($"For hash '{input}' there were {count} matches in the database");
|
||||
}
|
||||
else
|
||||
{
|
||||
Globals.Logger.User($"Hash '{input}' had no matches in the database");
|
||||
logger.User($"Hash '{input}' had no matches in the database");
|
||||
}
|
||||
|
||||
sldr.Dispose();
|
||||
@@ -128,11 +128,11 @@ namespace RombaSharp.Features
|
||||
count++;
|
||||
}
|
||||
|
||||
Globals.Logger.User($"For hash '{input}' there were {count} matches in the database");
|
||||
logger.User($"For hash '{input}' there were {count} matches in the database");
|
||||
}
|
||||
else
|
||||
{
|
||||
Globals.Logger.User($"Hash '{input}' had no matches in the database");
|
||||
logger.User($"Hash '{input}' had no matches in the database");
|
||||
}
|
||||
|
||||
sldr.Dispose();
|
||||
|
||||
Reference in New Issue
Block a user