Method EndSection
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
writerILogWriterThe 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.