Sets the global log4net.Core.LoggerManager.RepositorySelector to a log4net-to-PostSharp redirector so that all repositories and loggers created after this call redirect all messages to PostSharp. Returns a "relay repository" which is the only repository that won't be redirected to PostSharp.
public static ILoggerRepository RedirectLoggingToPostSharp()
The 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.