Class SerilogAdapter
ILogger adapter for Serilog.ILogger
Inheritance
System.Object
    SerilogAdapter
  Implements
Namespace: ES.Ascom.Alpaca.Client.Logging
Assembly: ES.Ascom.Alpaca.Client.Logging.SerilogAdapter.dll
Syntax
public class SerilogAdapter : object, ILoggerConstructors
| Improve this Doc View SourceSerilogAdapter(ILogger)
Initializes a new instance of the SerilogAdapter class.
Declaration
public SerilogAdapter(ILogger logger)Parameters
| Type | Name | Description | 
|---|---|---|
| Serilog.ILogger | logger | A configured instance of Serilog.ILogger | 
Methods
| Improve this Doc View SourceLog(LogEvent)
Declaration
public void Log(LogEvent logEvent)Parameters
| Type | Name | Description | 
|---|---|---|
| LogEvent | logEvent |