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.
/// </summary>
public Action<EncodedTextWriter, BlockHelperOptions, Context, Arguments>?
NothingFound { get; set; }
NothingFound
{ get; set; }
/// <inheritdoc />
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
components:
- File System I/O
- Path Normalization
- Disk-Based Content
- File System I/O
- Path Normalization
- Disk-Based Content
## File System I/O

View File

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

View File

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

View File

@ -282,7 +282,7 @@ public class PipelineRunner
.ToListAsync();
// 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.AddRange(output);
}
@ -328,7 +328,7 @@ public class PipelineRunner
this.signaledDoneWithInputs = true;
this.logger.Debug(
this.logger.Verbose(
"{Pipeline:l}: Signaling {Count:n0} dependencies done",
this.Pipeline,
this.Incoming.Count);

View File

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