Skip to content

Make InMemoryLogging available on all platforms#394

Merged
glbrntt merged 2 commits intoapple:mainfrom
hamzahrmalik:in_memory_logger_no_mutex
Dec 4, 2025
Merged

Make InMemoryLogging available on all platforms#394
glbrntt merged 2 commits intoapple:mainfrom
hamzahrmalik:in_memory_logger_no_mutex

Conversation

@hamzahrmalik
Copy link
Copy Markdown
Contributor

Make InMemoryLogging available on all platforms

Motivation:

Users might want to adopt the in memory logger on lower platform versions.

Modifications:

Remove availability annotations by using swift-logs own Lock instead of Mutex

Result:

In memory logger can be used on all platforms that swift-log supports

Copy link
Copy Markdown
Contributor

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

One nit but LGTM otherwise

@hamzahrmalik hamzahrmalik requested a review from glbrntt December 4, 2025 11:46
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Dec 4, 2025
@glbrntt glbrntt enabled auto-merge (squash) December 4, 2025 11:46
@glbrntt glbrntt merged commit b1fa4ef into apple:main Dec 4, 2025
60 of 61 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