protected void ActiveCorePreferencesRenders(LoggingConfigurationBuilder builder, ILoggingOptions settings) { if (settings is LoggingOptions options) { if (options.AutomaticalScanRendererEnabled) { PreferencesRenderersScanner.Scan(); } else { PreferencesRenderersScanner.Given(options.ManuallyRendererTypes); } } else { PreferencesRenderersScanner.Scan(); } }
protected void ActiveMessageTemplatePreheater(LoggingConfigurationBuilder builder, ILoggingOptions settings) { MessageTemplateCachePreheaterAction?.Invoke(_messageTemplateCachePreheater); }