You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.
Web API .net framework 4.7.2
version 3.0.21 logs to logentries fine, 4.0.0 fails silently.
Here's my setup to replicate.
private static void InitializeLogger(string token)
{
Log.Logger = new LoggerConfiguration().Enrich.FromLogContext()
.WriteTo.Logentries(token, outputTemplate: "[{Level}] {Message} {Properties:j}{NewLine}{Exception}").CreateLogger();
Log.Information("Log initialized.");
}
The text was updated successfully, but these errors were encountered: