C# Class MassTransit.SeriLogIntegration.SerilogLogger

Inheritance: MassTransit.Logging.ILogger
Datei anzeigen Open project: phatboyg/MassTransit

Public Methods

Method Description
Get ( string name ) : ILog
SerilogLogger ( Serilog baseLogger = null, bool demoteDebug = false ) : System
Shutdown ( ) : void
Use ( Serilog baseLogger = null, bool demoteDebug = false ) : void

Use Serilog for logging in Mass Transit. If no Serilog ILogger instance is provided, use the Log.Logger global instance.

Private Methods

Method Description
CreateLog ( string name ) : ILog

Method Details

Get() public method

public Get ( string name ) : ILog
name string
return ILog

SerilogLogger() public method

public SerilogLogger ( Serilog baseLogger = null, bool demoteDebug = false ) : System
baseLogger Serilog
demoteDebug bool
return System

Shutdown() public method

public Shutdown ( ) : void
return void

Use() public static method

Use Serilog for logging in Mass Transit. If no Serilog ILogger instance is provided, use the Log.Logger global instance.
public static Use ( Serilog baseLogger = null, bool demoteDebug = false ) : void
baseLogger Serilog
demoteDebug bool
return void