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:
@@ -1,9 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
||||
using SabreTools.Library.Data;
|
||||
using SabreTools.Library.DatFiles;
|
||||
using SabreTools.Library.Filtering;
|
||||
using SabreTools.Library.Help;
|
||||
using SabreTools.Library.IO;
|
||||
|
||||
@@ -47,13 +45,13 @@ in -old DAT file. Ignores those entries in -old that are not in -new.";
|
||||
// Check that all required files exist
|
||||
if (!File.Exists(olddat))
|
||||
{
|
||||
Globals.Logger.Error($"File '{olddat}' does not exist!");
|
||||
logger.Error($"File '{olddat}' does not exist!");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!File.Exists(newdat))
|
||||
{
|
||||
Globals.Logger.Error($"File '{newdat}' does not exist!");
|
||||
logger.Error($"File '{newdat}' does not exist!");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user