Skip to content

Nothing is logged #346

@NLLAPPS

Description

@NLLAPPS

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();`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions