Skip to content

Conversation

@richardpiazza
Copy link
Owner

The Client protocol contained a mutable verboseLogging property. This make is difficult to adopt more strict concurrency settings as it exposes uncontrolled access to mutable state.

This is replaced with two additional properties:

  • logLevelStream: AsyncStream<Logger.Level> { get } - an AsyncStream which yields the current and updated state of the logging level.
  • setLogLevel(_:) - function which can be used to request a change in the logging level.

@richardpiazza richardpiazza merged commit d9d311c into main Dec 14, 2025
2 checks passed
@richardpiazza richardpiazza deleted the feature/logging-stream branch December 14, 2025 19:41
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