As part of the dotnet/extensions work, we want to support log redaction. We'd like to add middleware to LoggerFactory so that selected log messages can be performantly modified. Since the middleware change is already substantial we want to take this opportunity to add optional higher performance APIs that ILoggerProviders can opt into at the same time.
Work in progress is here: #86995