C# Class Serilog.LoggerConfigurationEventLogExtensions

Adds the WriteTo.EventLog() extension method to LoggerConfiguration.
ファイルを表示 Open project: net-commons/common-logging

Public Methods

Method Description
CommonLogging ( this loggerConfiguration ) : LoggerConfiguration

Adds a sink that writes log events to the Windows event log.

Method Details

CommonLogging() public static method

Adds a sink that writes log events to the Windows event log.
A required parameter is null.
public static CommonLogging ( this loggerConfiguration ) : LoggerConfiguration
loggerConfiguration this The logger configuration.
return LoggerConfiguration