PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Record­BuildersLog­Record­BuilderGet­Output­Multiplex­Event­Data
Open sandboxFocus

LogRecordBuilder.GetOutputMultiplexEventData Method

GetOutputMultiplexEventData()

Returns a list of properties that will be passed to the next backend in order if a multiplexer is used. See Remarks.

Declaration
public virtual LogEventData GetOutputMultiplexEventData()
Returns
Type Description
LogEventData

List of properties to be passed to the next backend, or null.

Remarks

If you have a MultiplexerBackend with two backends, then this method will be called on the first backend and what this method returns will be added to the properties of this record in the next backend.

Returning null means that no properties should be passed to the next backend.

Note to implementors: This method is called by the multiplexer after BeginRecord(LoggingContext, ref LogRecordInfo, ref LogMemberInfo) and BeginCustomRecord(LoggingContext, ref CustomLogRecordInfo). This may change -- this is an experimental feature.