Skip to content

Replace log consumer configuration method WithoutSectionFinish() with WithSectionEnd(LogSectionEndOption logSectionEnd) #797

@YevgeniyShunevych

Description

@YevgeniyShunevych

Before, there were 2 options to log section end: include or exclude. The third option is added now: "Include log section end only for block sections". Currently "block" log sections are: StepLogSection, SetupLogSection and AggregateAssertionLogSection. The new option can be useful in reporters logging, like ExtentReports, to simplify logs.

WithoutSectionFinish() method became obsolete and new WithSectionEnd(LogSectionEndOption logSectionEnd) was added with the following options:

public enum LogSectionEndOption
{
    Include,
    IncludeForBlocks,
    Exclude
}

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions