Table of Contents

Method EndSection

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

EndSection(ILogWriter)

Ends the current log section by decreasing the indentation level and writing a section separator.

public static ILogWriter EndSection(this ILogWriter writer)

Parameters

writer ILogWriter

The log writer to operate on. Cannot be null.

Returns

ILogWriter

The same ILogWriter instance, enabling method chaining.

Remarks

Call this method to mark the end of a logical section in the log output. This is typically used in conjunction with methods that begin a section to maintain structured and readable logs.