Log4NetCollectingRepositorySelector.RedirectLoggingToPostSharp Method |
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)
public static ILoggerRepository RedirectLoggingToPostSharp()
Return Value
Type: ILoggerRepositoryThe relay repository. You should configure this with appenders where you want the final log output to go, and pass this to Log4NetLoggingBackend so that logging done by PostSharp goes to your appenders.