ModularPipelines
ModularPipelines copied to clipboard
IHttpLogger spams messages
The ModularPipelines.GitHub.GitHub class has IHttpLogger, but it is overly aggressive. For example, for a call to
return await targetFiles
.SelectAsync(async file =>
{
var asset = new ReleaseAssetUpload
{
ContentType = "application/x-binary",
FileName = file.Name,
RawData = file.GetStream()
};
return await context.GitHub().Client.Repository.Release.UploadAsset(release, asset, cancellationToken);
},
cancellationToken)
.ProcessOneAtATime();
I get >15,000 lines in the output. The current implementation even logs the stream of the uploaded file.
Ideally nice to have something like CommandLogging in Commands, to control it