Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

serilog .net 6

var builder = WebApplication.CreateBuilder(args);

builder.Host.UseSerilog((ctx, lc) => lc
    .WriteTo.Console()
    .WriteTo.Seq("http://localhost:5341"));

var app = builder.Build();
Source by blog.datalust.co #
 
PREVIOUS NEXT
Tagged: #serilog
ADD COMMENT
Topic
Name
2+6 =