C# Class Serilog.LoggerConfigurationEventLogExtensions

Adds the WriteTo.EventLog() extension method to LoggerConfiguration.
Afficher le fichier Open project: net-commons/common-logging

Méthodes publiques

Méthode Description
CommonLogging ( this loggerConfiguration ) : LoggerConfiguration

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

Method Details

CommonLogging() public static méthode

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.
Résultat LoggerConfiguration