Skip to content
On this page

Microsoft Extensions Logging

PM> Install-Package Shuttle.Core.Microsoft.Extensions.Logging

Shuttle logging implementation for Microsoft's extension logging adapter.

Usage

    using var loggerFactory =
        LoggerFactory.Create(builder =>
            builder.AddSimpleConsole());
    
    Log.Assign(new Logger(loggerFactory.CreateLogger<Program>()));
Shuttle.Core.Microsoft.Extensions.Logging has loaded