PostprocessorOutputBuilder IModel.CreatePostprocessorOutputBuilder() { return(new PostprocessorOutputBuilder { build = (postprocessorInput, builder) => TimelinePostprocessorOutput.SerializePostprocessorOutput( builder.events, builder.rotatedLogPartToken, logPartTokenFactories, builder.triggersConverter, postprocessorInput.InputContentsEtag, postprocessorInput.openOutputFile, tempFiles, postprocessorInput.CancellationToken ) }); }
Task IModel.SavePostprocessorOutput( IEnumerableAsync <Event[]> events, Task <ILogPartToken> rotatedLogPartToken, Func <object, TextLogEventTrigger> triggersConverter, LogSourcePostprocessorInput postprocessorInput ) { return(TimelinePostprocessorOutput.SerializePostprocessorOutput( events, rotatedLogPartToken, triggersConverter, postprocessorInput.InputContentsEtag, postprocessorInput.OutputFileName, tempFiles, postprocessorInput.CancellationToken )); }