C# Class MassTransit.SeriLogIntegration.SerilogLogger

Inheritance: MassTransit.Logging.ILogger
Afficher le fichier Open project: phatboyg/MassTransit

Méthodes publiques

Méthode 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

Méthode Description
CreateLog ( string name ) : ILog

Method Details

Get() public méthode

public Get ( string name ) : ILog
name string
Résultat ILog

SerilogLogger() public méthode

public SerilogLogger ( Serilog baseLogger = null, bool demoteDebug = false ) : System
baseLogger Serilog
demoteDebug bool
Résultat System

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void

Use() public static méthode

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
Résultat void