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

@@ -1,9 +1,9 @@
using System.Collections.Generic;
using System.IO;
using SabreTools.Library.Data;
using SabreTools.Library.DatItems;
using SabreTools.Library.IO;
using SabreTools.Library.Logging;
namespace SabreTools.Library.FileTypes
{
@@ -63,7 +63,7 @@ namespace SabreTools.Library.FileTypes
return archive;
// Create the archive based on the type
Globals.Logger.Verbose($"Found archive of type: {at}");
logger.Verbose($"Found archive of type: {at}");
switch (at)
{
case FileType.GZipArchive: