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

Update to Serilog 4 (prerelease) #220

Merged
merged 3 commits into from
May 7, 2024
Merged

Conversation

nblumhardt
Copy link
Member

@nblumhardt nblumhardt commented May 6, 2024

Drops the Serilog.Sinks.PeriodicBatching dependency. There isn't any breaking or visible surface area change, but pulling Serilog up a major version, and no longer pulling in the latest s.s.PeriodicBatching will have enough impact on consumers to warrant a major version bump.

}
}

public async Task EmitBatchAsync(IEnumerable<LogEvent> events)
public async Task EmitBatchAsync(IReadOnlyCollection<LogEvent> events)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I see that's a pretty significant API difference between the old batching sink and the new one? IReadOnlyCollection does seem like a better interface here.

@nblumhardt nblumhardt marked this pull request as ready for review May 6, 2024 23:18
Copy link
Member

@KodrAus KodrAus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@nblumhardt nblumhardt merged commit 872a265 into datalust:dev May 7, 2024
1 check passed
@nblumhardt nblumhardt mentioned this pull request Jun 4, 2024
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

Successfully merging this pull request may close these issues.

2 participants