MultiplexerBackend Class
A multiplexer is a logging backend that sends logging events to other logging backends.
Implements
Namespace: PostSharp.Patterns.Diagnostics.Backends.Multiplexer
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class MultiplexerBackend : LoggingBackend
Remarks
You want to use a multiplexer if you want all of your logging to go to two or more different backends.
Each backend, including the multiplexer itself, maintains its own stack of logging contexts.
Constructors
Name | Description |
---|---|
MultiplexerBackend(LoggingBackend[]) | Initializes a new multiplexer backend. |
Properties
Name | Description |
---|---|
Backends | Gets the child backends. |