Show / Hide Table of Contents

Class SerilogAdapter

ILogger adapter for Serilog.ILogger

Inheritance
System.Object
SerilogAdapter
Implements
ILogger
Namespace: ES.Ascom.Alpaca.Client.Logging
Assembly: ES.Ascom.Alpaca.Client.Logging.SerilogAdapter.dll
Syntax
public class SerilogAdapter : object, ILogger

Constructors

| Improve this Doc View Source

SerilogAdapter(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 Source

Log(LogEvent)

Declaration
public void Log(LogEvent logEvent)
Parameters
Type Name Description
LogEvent logEvent

Implements

ILogger
  • Improve this Doc
  • View Source
Back to top Generated by DocFX