-
-
Notifications
You must be signed in to change notification settings - Fork 143
Description
Hi, I am playing around with Expressionless in the hope to start using it.
I have setup a bare bones NET core web app and Exceptionless backend running on local docker.
Nothing is logged when I run below.
I am sure I am must be missing something.
Could you please have a look and tell me what is missing ?
Thank you
`using Exceptionless;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddExceptionless(builder.Configuration, configuration =>
{
configuration.ApiKey = "wQadcZ7Vxecp4ob7bzVLm2DyWPbWPtUXxyY4kI9S";
configuration.ServerUrl = "http://localhost:4597/";
configuration.SetDefaultMinLogLevel(Exceptionless.Logging.LogLevel.Trace);
});
var app = builder.Build();
app.MapGet("/", () =>
{
ExceptionlessClient.Default.SubmitLog("This is so easy");
new Exception("AAA").ToExceptionless().Submit();
return "Hello World!";
}
);
app.Run();`