Method Write
Write(ILogWriter, StringBuilder)
Writes the content of the specified StringBuilder to the output, line by line. This is a convenience method that splits the content into lines and writes each line.
public static void Write(this ILogWriter writer, StringBuilder message)
Parameters
writerILogWriterThe ILogWriter instance to use for writing log messages. Cannot be null.
messageStringBuilderThe StringBuilder containing the message to write. Cannot be null.
Remarks
The content of the message is split into lines, and each
line is written separately.