Skip to content

Dint working #9

@Nyconing

Description

@Nyconing
            Logs.AutologConfig = new RestClientAutologConfiguration() {
                MessageTemplateForSuccess = "{Method} {Uri} responded {StatusCode}",
                MessageTemplateForError = "{Method} {Uri} is not good! {ErrorMessage}",
                LoggerConfiguration = new LoggerConfiguration()
                    .MinimumLevel.Debug()
                    .Enrich.FromLogContext()
                    .WriteTo.Console()
            };
            Serilog.Log.Information($"Logger running {true}");

...
new RestClientAutolog(url, Logs.AutologConfig) ...(make a success request)

Log didnt send any message to console.

Environment

Windows10
.NET Framework 4.8
Console Application

Logs / Stack trace

Insert your log/stack trace here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions