Use the capabilities of Microsoft.Extensions.Logging instead.
Dime.Logging is a simple wrapper which abstracts logging implementations from logging definitions.
- You must have Visual Studio 2019 Community or higher.
- The dotnet cli is also highly recommended.
This repository is split it in several projects. Each one has a very specific focus:
- Dime.Logging: definitions of the
ILogger
andILoggerAsync
interfaces. - Dime.Logging.Log4Net: implementation of the loggers using Log4Net.
- Dime.Logging.NetCore: a wrapper around
Microsoft.Extensions.Logging.ILogger<T>
.
- Run dotnet restore
- Run dotnet build
- Run dotnet test
Use the NuGet package manager in Visual Studio or use the dotnet add package
command. The packages are available in Dime Software' Azure Artifacts feed.
Pull requests are welcome. Please check out the contribution and code of conduct guidelines.