C# Class MassTransit.SerilogConfiguratorExtensions

Mostrar archivo Open project: phatboyg/MassTransit

Public Methods

Method 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 method

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.
return void