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
Getting an exception likely caused by Serilog upgrade.
It looks like Serilog marked PeriodicBatchingSink class as sealed
public sealed class PeriodicBatchingSink : ILogEventSink, IDisposable
Actual behaviour
Unhandled exception. System.TypeLoadException: Could not load type 'Serilog.Sinks.NewRelic.Logs.NewRelicLogsSink' from assembly 'Serilog.Sinks.NewRelic.Logs, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null' because the parent type is sealed.
at Serilog.NewRelicLoggerConfigurationExtensions.NewRelicLogs(LoggerSinkConfiguration loggerSinkConfiguration, String endpointUrl, String applicationName, String licenseKey, String insertKey, LogEventLevel restrictedToMinimumLevel, Int32 batchSizeLimit, Nullable`1 period)
Status
BUG REPORT
Steps
Getting an exception likely caused by Serilog upgrade.
It looks like Serilog marked PeriodicBatchingSink class as sealed
public sealed class PeriodicBatchingSink : ILogEventSink, IDisposable
Actual behaviour
Unhandled exception. System.TypeLoadException: Could not load type 'Serilog.Sinks.NewRelic.Logs.NewRelicLogsSink' from assembly 'Serilog.Sinks.NewRelic.Logs, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null' because the parent type is sealed.
at Serilog.NewRelicLoggerConfigurationExtensions.NewRelicLogs(LoggerSinkConfiguration loggerSinkConfiguration, String endpointUrl, String applicationName, String licenseKey, String insertKey, LogEventLevel restrictedToMinimumLevel, Int32 batchSizeLimit, Nullable`1 period)
Environment
Running as Docker Image on Linux.
The text was updated successfully, but these errors were encountered: