-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
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
Labels
No labels