PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Log4Net Namespace / Log4Net­Collecting­Repository­Selector Class / Log4Net­Collecting­Repository­Selector Constructor

Log4NetCollectingRepositorySelector Constructor

Initializes a new instance of Log4NetCollectingRepositorySelector and creates the relay repository. See Remarks on the class. Consider using the static method RedirectLoggingToPostSharp() instead.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Log4Net
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Log4Net (in PostSharp.Patterns.Diagnostics.Backends.Log4Net.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public Log4NetCollectingRepositorySelector(
	IRepositorySelector originalRepositorySelector
)

Parameters

originalRepositorySelector
Type: IRepositorySelector
The selector that should be used to get or create the relay repository.
See Also