Skip to content

Unable to cast object of type 'Serilog.Sinks.Graylog.Batching.PeriodicBatchingGraylogSink' to type 'Serilog.Core.ILogEventSink' #97

@cubed-it

Description

@cubed-it

Hey there, I have just upgraded to 3.0.1 and was wondering about the following error:

Unhandled exception. System.InvalidCastException: Unable to cast object of type 'Serilog.Sinks.Graylog.Batching.PeriodicBatchingGraylogSink' to type 'Serilog.Core.ILogEventSink'.
   at Serilog.Sinks.Graylog.Batching.LoggerConfigurationGrayLogExtensions.Graylog(LoggerSinkConfiguration loggerSinkConfiguration, BatchingGraylogSinkOptions options)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions