C# Class MassTransit.SerilogConfiguratorExtensions

Afficher le fichier Open project: phatboyg/MassTransit

Méthodes publiques

Méthode Description
UseSerilog ( this configurator, ILogger baseLogger = null, bool demoteDebug = false ) : void

Configure the Mass Transit Service Bus to use the provided Serilog.

Method Details

UseSerilog() public static méthode

Configure the Mass Transit Service Bus to use the provided Serilog.
public static UseSerilog ( this configurator, ILogger baseLogger = null, bool demoteDebug = false ) : void
configurator this The configurator to act on.
baseLogger ILogger (Optional) The base logger. If none supplied, will use the global logger.
demoteDebug bool Force "Debug" level logging from MassTransit to be demoted to Verbose.
Résultat void