コード例 #1
0
        async Task RunForSpringServiceLog(LogSourcePostprocessorInput input)
        {
            var reader = new SpringServiceLog.Reader(postprocessingModel.TextLogParser, input.CancellationToken).Read(input.LogFileName, input.ProgressHandler);

            SVC.IMessagingEvents messagingEvents = new SVC.MessagingEvents();

            var events = EnumerableAsync.Merge(
                messagingEvents.GetEvents(reader)
                );

            await postprocessingModel.Correlation.CreatePostprocessorOutputBuilder()
            .SetMessagingEvents(events)
            .SetTriggersConverter(evtTrigger => TextLogEventTrigger.Make((SVC.Message)evtTrigger))
            .Build(input);
        }
        async Task RunForSpringServiceLog(
            IEnumerableAsync <SpringServiceLog.Message[]> input,
            LogSourcePostprocessorInput postprocessorInput
            )
        {
            SVC.IMessagingEvents messagingEvents = new SVC.MessagingEvents();

            var events = EnumerableAsync.Merge(
                messagingEvents.GetEvents(input)
                );

            await postprocessing.SequenceDiagram.CreatePostprocessorOutputBuilder()
            .SetMessagingEvents(events)
            .SetTriggersConverter(evtTrigger => TextLogEventTrigger.Make((SVC.Message)evtTrigger))
            .Build(postprocessorInput);
        }
コード例 #3
0
        async Task RunForSpringServiceLog(
            IEnumerableAsync <SpringServiceLog.Message[]> input,
            LogSourcePostprocessorInput postprocessorInput
            )
        {
            SVC.IMessagingEvents messagingEvents = new SVC.MessagingEvents();

            var events = EnumerableAsync.Merge(
                messagingEvents.GetEvents(input)
                );

            await postprocessing.SequenceDiagram.SavePostprocessorOutput(
                events,
                null,
                null,
                null,
                evtTrigger => TextLogEventTrigger.Make((SVC.Message)evtTrigger),
                postprocessorInput
                );
        }