<PackageReference Include="Serilog.Sinks.EventLog" Version="3.0.47" />
API Differences between 3.0.47 and 4.0.0
2 Additions
4 Removals
Serilog
-
public static class LoggerConfigurationEventLogExtensions
- public static LoggerConfiguration EventLog(this LoggerSinkConfiguration loggerConfiguration, string source, string logName = null, string machineName = ".", bool manageEventSource = false, string outputTemplate = "{Message}{NewLine}{Exception}", IFormatProvider formatProvider = null, LogEventLevel restrictedToMinimumLevel = 0, IEventIdProvider eventIdProvider = null)
- public static LoggerConfiguration EventLog(this LoggerSinkConfiguration loggerConfiguration, ITextFormatter formatter, string source, string logName = null, string machineName = ".", bool manageEventSource = false, LogEventLevel restrictedToMinimumLevel = 0, IEventIdProvider eventIdProvider = null)
- public static LoggerConfiguration EventLog(this LoggerSinkConfiguration loggerConfiguration, string source, string logName = null, string machineName = ".", bool manageEventSource = false, string outputTemplate = "{Message}{NewLine}{Exception}", IFormatProvider formatProvider = null, LogEventLevel restrictedToMinimumLevel = 0)
- public static LoggerConfiguration EventLog(this LoggerSinkConfiguration loggerConfiguration, ITextFormatter formatter, string source, string logName = null, string machineName = ".", bool manageEventSource = false, LogEventLevel restrictedToMinimumLevel = 0)
Serilog.Sinks.EventLog
-
public class EventLogSink : ILogEventSink
- public EventLogSink(string source, string logName, ITextFormatter textFormatter, string machineName, bool manageEventSource, IEventIdProvider eventIdProvider)
-
public interface IEventIdProvider