Replace internal FormattedLogValues with a type alias
ProprietaryMicrosoft.Extensions.Logging.Internal.FormattedLogValues was made internal in .NET 6+. Replace the now-dead using Microsoft.Extensions.Logging.Internal; with a FormattedLogValues type alias for IReadOnlyList<KeyValuePair<string, object>> (the public interface it implements) so existing references keep compiling.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net6. ReplaceFormattedLogValuesmod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net6. ReplaceFormattedLogValuesInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.