Write(ILogRecordBuilder, LogRecordItem)
Renders the current message into a given ILogRecordBuilder.
Declaration
void Write(ILogRecordBuilder builder, LogRecordItem kind)
Parameters
Type | Name | Description |
---|---|---|
ILogRecordBuilder | builder | |
LogRecordItem | kind | The situation in which the message is rendered (to be passed to BeginWriteItem(LogRecordItem, in LogRecordTextOptions)).. |
Remarks
The IMessage implementation is responsible for invoking BeginWriteItem(LogRecordItem, in LogRecordTextOptions) and EndWriteItem(LogRecordItem).