Make Logger naming consistent

This commit is contained in:
Matt Nadareski
2025-01-08 16:59:44 -05:00
parent 9241011867
commit d67327231b
39 changed files with 186 additions and 186 deletions

View File

@@ -23,7 +23,7 @@ namespace SabreTools.DatTools
/// <summary>
/// Logging object
/// </summary>
private readonly Logger logger;
private readonly Logger _logger;
#endregion
@@ -34,7 +34,7 @@ namespace SabreTools.DatTools
/// </summary>
public ExtraIni()
{
logger = new Logger(this);
_logger = new Logger(this);
}
#endregion
@@ -58,7 +58,7 @@ namespace SabreTools.DatTools
// If we don't even have a possible field and file combination
if (!input.Contains(":"))
{
logger.Warning($"'{input}` is not a valid INI extras string. Valid INI extras strings are of the form 'key:value'. Please refer to README.1ST or the help feature for more details.");
_logger.Warning($"'{input}` is not a valid INI extras string. Valid INI extras strings are of the form 'key:value'. Please refer to README.1ST or the help feature for more details.");
return;
}
@@ -130,7 +130,7 @@ namespace SabreTools.DatTools
}
catch (Exception ex) when (!throwOnError)
{
logger.Error(ex);
_logger.Error(ex);
return false;
}
finally
@@ -192,7 +192,7 @@ namespace SabreTools.DatTools
}
catch (Exception ex) when (!throwOnError)
{
logger.Error(ex);
_logger.Error(ex);
return false;
}
finally