Skip to content

Repository files navigation

Euphoric.Logging.Memory

.NET Core implmenetation of Microsoft.Extensions.Logging, which logs into memory. Useful for test automation.

Build Status

Usage

Install NuGet package : Install-Package Euphoric.Logging.Memory

Setup logger provider : services.AddLogging(loggingBuilder => loggingBuilder.AddMemoryLogger());

To retrieve the logs from memory :

var memoryLogger = sp.GetRequiredService<IMemoryLogSource>();
var loggedEntries = memoryLogger.Logs;

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages