net9.0
namespace Microsoft.Extensions.Logging
{
    public static class EventLoggerFactoryExtensions
    {
        [EditorBrowsable(EditorBrowsableState.Never)]
        [Obsolete("This method is retained only for compatibility. The recommended alternative is AddEventLog(this ILoggingBuilder builder).", true)]
        public static ILoggerFactory! AddEventLog(this ILoggerFactory! factory, LogLevel minLevel);
    }
}
Assembly Microsoft.Extensions.Logging.EventLog , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60
Obsolete This method is retained only for compatibility. The recommended alternative is AddEventLog(this ILoggingBuilder builder).
Implementation Source
Help Documentation
.NET 5.06.07.08.09.0
.NET Core 2.02.12.23.03.1
.NET Framework 4.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard 2.02.1
Platform Specific Frameworks
net9.0 (neutral)
net9.0-android 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0
net9.0-ios 10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2
net9.0-maccatalyst 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2
net9.0-macos 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
net9.0-tvos 10.010.110.211.011.111.211.311.412.012.112.212.312.413.013.213.313.414.014.214.314.414.515.015.215.416.016.116.417.017.2
net9.0-windows 7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621
Platform Restrictions

For the selected framework this API is only supported on the following OS platforms:

  • Windows
  • Built-in API
  • Package-provided API

05/01/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙