Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dint working #9

Open
Nyconing opened this issue Oct 22, 2020 · 1 comment
Open

Dint working #9

Nyconing opened this issue Oct 22, 2020 · 1 comment

Comments

@Nyconing
Copy link

Nyconing commented Oct 22, 2020

            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
@ThiagoBarradas
Copy link
Owner

Hello Guy! Sorry about delay! I will check it and answer you here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants