Skip to content

alsami/Serilog.Extensions.Autofac.DependencyInjection

Repository files navigation

Serilog.Extensions.Autofac.DependencyInjection

Build Application codecov

NuGet NuGet

This is a cross platform library, written in .netstandard 2.0, that serves as an extension for autofac's containerbuilder. It will register all necessary classes and interfaces of Serilog using Microsoft's logging extensions

Installation

This package is available via nuget. You can install it using Visual-Studio-Nuget-Browser or by using the dotnet-cli

dotnet add package Serilog.Extensions.Autofac.DependencyInjection

If you want to add a specific version of this package

dotnet add package Serilog.Extensions.Autofac.DependencyInjection --version 1.0.0

For more information please visit the official dotnet-cli documentation.

Usage

For more information about the usage, please have a look at the samples.