Skip to content

Conversation

@hamzahrmalik
Copy link
Contributor

@hamzahrmalik hamzahrmalik commented Dec 2, 2025

Swift log now has an InMemoryLogHandler. Lets depend on that instead of having our own CollectEverythingLogHandler.

I've added an extension on top, to make it easier to create the logger too

Result: less code

@hamzahrmalik hamzahrmalik marked this pull request as draft December 4, 2025 11:54
@hamzahrmalik hamzahrmalik changed the title Replace the implementation of CollectEverythingLogHandler with the one from swift-log Remove CollectEverythingLogHandler implementation in favour of InMemoryLogHandler from swift-log Dec 4, 2025
@hamzahrmalik hamzahrmalik force-pushed the use_new_in_memory_logger branch from f3c086f to 1c405c2 Compare December 4, 2025 11:59
@hamzahrmalik hamzahrmalik marked this pull request as ready for review December 4, 2025 12:00
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Dec 4, 2025
@glbrntt glbrntt enabled auto-merge (squash) December 4, 2025 13:33
@glbrntt glbrntt merged commit 5dd84c7 into swift-server:main Dec 4, 2025
61 of 62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants