Wire up source for logging where possible

This commit is contained in:
Matt Nadareski
2020-10-07 16:37:10 -07:00
parent 82aa1807a9
commit bac43467cf
10 changed files with 104 additions and 15 deletions

View File

@@ -11,17 +11,38 @@ namespace SabreTools.Library.Help
/// </summary>
public abstract class TopLevel : Feature
{
#region Fields
/// <summary>
/// List of files, directories, and potential wildcard paths
/// </summary>
public List<string> Inputs = new List<string>();
#endregion
#region Logging
/// <summary>
/// Logging object
/// </summary>
private readonly Logger logger = new Logger();
private readonly Logger logger;
#endregion
#region Constructors
/// <summary>
/// Constructor
/// </summary>
public TopLevel()
{
logger = new Logger(this);
}
#endregion
#region Processing
/// <summary>
/// Process args list based on current feature
/// </summary>
@@ -63,6 +84,8 @@ namespace SabreTools.Library.Help
/// </summary>
public virtual void ProcessFeatures(Dictionary<string, Feature> features) { }
#endregion
#region Generic Extraction
/// <summary>