Instance logging with backing static class instead of Global

This commit is contained in:
Matt Nadareski
2020-10-07 15:42:30 -07:00
parent 348a2a2bcb
commit b7db9f7f14
69 changed files with 1034 additions and 834 deletions

View File

@@ -160,7 +160,7 @@ namespace SabreTools.Features
{
// Create a new base DatFile
DatFile datFile = DatFile.Create(Header);
Globals.Logger.User($"Processing '{Path.GetFileName(inputPath.CurrentPath)}'");
logger.User($"Processing '{Path.GetFileName(inputPath.CurrentPath)}'");
datFile.Parse(inputPath, keep: true,
keepext: datFile.Header.DatFormat.HasFlag(DatFormat.TSV)
|| datFile.Header.DatFormat.HasFlag(DatFormat.CSV)