I have two filtered catalogs at work now. The first one gives me the correctLoggerProvider part and the second give me the correct PreferencesProvider part. This is working great until I try to recompose the LoggerProvider. The issue is
that I need to use my Logger (with default Provider) before it is actually configrued. This works. Once configuration kicks in I attempt to recompose the part by calling CompositionInitializer.SatisfyImports() on it. This is throwing an exception
saying that it can't recompose them. The exception says:
1) More than one export was found that matches the constraint '((exportDefinition.ContractName == "Berico.LinkAnalysis.SnagL.Logging.Providers.ILoggerProvider") AndAlso (exportDefinition.Metadata.ContainsKey("ExportTypeIdentity") AndAlso
I don't get this error the first time through. I also, technically, want to only recompose the catalogs related to the LoggerProviders (not any other ones). Any advice here would be much appreciated.