PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace / Log­Record­Builder Class / Log­Record­Builder Methods / Log­Record­Builder.​Get­Output­Multiplex­Event­Data Method

LogRecordBuilder.GetOutputMultiplexEventData Method

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

Namespace:  PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public virtual LogEventData GetOutputMultiplexEventData()

Return Value

Type: 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, LogRecordInfo, LogMemberInfo) and BeginCustomRecord(LoggingContext, CustomLogRecordInfo). This may change -- this is an experimental feature.

See Also