chore: lowered verbosity on some pipeline operations

closes #2
This commit is contained in:
D. Moonfire 2023-01-14 18:30:22 -06:00
parent 9e93eb6ce6
commit 7d388b09c2
6 changed files with 19 additions and 17 deletions

View file

@ -24,7 +24,8 @@ public class ForEachHandlebarsBlock<TModel> : HandlebarsBlockBase
/// Gets or sets the callback that is called when nothing is found. /// Gets or sets the callback that is called when nothing is found.
/// </summary> /// </summary>
public Action<EncodedTextWriter, BlockHelperOptions, Context, Arguments>? public Action<EncodedTextWriter, BlockHelperOptions, Context, Arguments>?
NothingFound { get; set; } NothingFound
{ get; set; }
/// <inheritdoc /> /// <inheritdoc />
protected override string HelperName { get; } protected override string HelperName { get; }

View file

@ -4,9 +4,9 @@ This assembly contains the primary system for reading and writing from the disk,
along with various processes to manipulate paths. It contains three primary along with various processes to manipulate paths. It contains three primary
components: components:
- File System I/O - File System I/O
- Path Normalization - Path Normalization
- Disk-Based Content - Disk-Based Content
## File System I/O ## File System I/O

View file

@ -20,10 +20,10 @@ public class IdentifyMarkdownFromPath : IdentifyMarkdown
{ {
return (path.GetExtensionWithDot() ?? string.Empty).ToLowerInvariant() return (path.GetExtensionWithDot() ?? string.Empty).ToLowerInvariant()
switch switch
{ {
".md" => true, ".md" => true,
".markdown" => true, ".markdown" => true,
_ => false, _ => false,
}; };
} }
} }

View file

@ -31,7 +31,8 @@ public class ParseYamlHeader<TModel> : OperationBase
} }
public Func<Entity, string, Exception, ParseYamlHeaderErrorHandling>? public Func<Entity, string, Exception, ParseYamlHeaderErrorHandling>?
EntityError { get; set; } EntityError
{ get; set; }
/// <summary> /// <summary>
/// Gets or sets a value indicating whether the header should be removed /// Gets or sets a value indicating whether the header should be removed

View file

@ -282,7 +282,7 @@ public class PipelineRunner
.ToListAsync(); .ToListAsync();
// Gather all the output. // Gather all the output.
this.logger.Debug("{Pipeline:l}: Gathering output", this.Pipeline); this.logger.Verbose("{Pipeline:l}: Gathering output", this.Pipeline);
this.Outputs.Clear(); this.Outputs.Clear();
this.Outputs.AddRange(output); this.Outputs.AddRange(output);
} }
@ -328,7 +328,7 @@ public class PipelineRunner
this.signaledDoneWithInputs = true; this.signaledDoneWithInputs = true;
this.logger.Debug( this.logger.Verbose(
"{Pipeline:l}: Signaling {Count:n0} dependencies done", "{Pipeline:l}: Signaling {Count:n0} dependencies done",
this.Pipeline, this.Pipeline,
this.Incoming.Count); this.Incoming.Count);

View file

@ -2,8 +2,8 @@
## Immediate ## Immediate
- Switch the various operations to be async - Switch the various operations to be async
- ReadFiles - ReadFiles
- WriteFiles - WriteFiles
- Implement mime type determination - Implement mime type determination
- Implement a convert to text content based on mime type - Implement a convert to text content based on mime type