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