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

Use Set to spot duplicated log handler warnings. #306

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

PeterAdams-A
Copy link
Contributor

Motivation:

Feels like a better fit for the problem when a dictionary of bools.

Modifications:

Convert storage to set.

Result:

Fewer lines of code, less waste.

Motivation:

Feels like a better fit for the problem when a dictionary of bools.

Modifications:

Convert storage to set.

Result:

Fewer lines of code, less waste.
@PeterAdams-A PeterAdams-A requested a review from FranzBusch June 10, 2024 12:26
@PeterAdams-A PeterAdams-A added the 🔨 semver/patch No public API change. label Jun 10, 2024
@PeterAdams-A PeterAdams-A merged commit 0f170b4 into apple:main Jun 10, 2024
6 checks passed
cgrindel-self-hosted-renovate bot referenced this pull request in cgrindel/rules_swift_package_manager Jun 27, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [apple/swift-log](https://github.com/apple/swift-log) | minor |
`from: "1.5.4"` -> `from: "1.6.1"` |

---

### Release Notes

<details>
<summary>apple/swift-log (apple/swift-log)</summary>

### [`v1.6.1`](https://github.com/apple/swift-log/releases/tag/1.6.1):
Swift Log 1.6.1

[Compare
Source](https://github.com/apple/swift-log/compare/1.6.0...1.6.1)

##### SemVer Patch

- Disable existential any build setting
([#&#8203;312](https://github.com/apple/swift-log/issues/312))

### [`v1.6.0`](https://github.com/apple/swift-log/releases/tag/1.6.0)

[Compare
Source](https://github.com/apple/swift-log/compare/1.5.4...1.6.0)

#### SemVer Minor

- Add Sendability annotations in
[https://github.com/apple/swift-log/pull/308](https://github.com/apple/swift-log/pull/308)
- Fix deprecation warnings around default log implementations on
handlers in
[https://github.com/apple/swift-log/pull/310](https://github.com/apple/swift-log/pull/310)
- Drop Swift versions earlier than 5.8 in
[https://github.com/apple/swift-log/pull/299](https://github.com/apple/swift-log/pull/299)
- Implement Copy-On-Write (CoW) behavior for Logger struct by
[@&#8203;ayushi2103](https://github.com/ayushi2103) in
[https://github.com/apple/swift-log/pull/297](https://github.com/apple/swift-log/pull/297)

##### SemVer Patch

- Replace standardOutput to standardError by
[@&#8203;ayushi2103](https://github.com/ayushi2103) in
[https://github.com/apple/swift-log/pull/295](https://github.com/apple/swift-log/pull/295)
- Use Set to spot duplicated log handler warnings in
[https://github.com/apple/swift-log/pull/306](https://github.com/apple/swift-log/pull/306)
- Make protocol usage obvious using any and some keywords in
[https://github.com/apple/swift-log/pull/307](https://github.com/apple/swift-log/pull/307)
- Remove documentation for non-existent arguments by
[@&#8203;b1ackturtle](https://github.com/b1ackturtle) in
[https://github.com/apple/swift-log/pull/309](https://github.com/apple/swift-log/pull/309)
- Remove Docc plugin which is no longer required in
[https://github.com/apple/swift-log/pull/311](https://github.com/apple/swift-log/pull/311)

##### Other Changes

- Remove archived repository in
[https://github.com/apple/swift-log/pull/292](https://github.com/apple/swift-log/pull/292)
- Add CI for Swift 5.10 in
[https://github.com/apple/swift-log/pull/287](https://github.com/apple/swift-log/pull/287)
- Added swift-log-ecs to README.md by
[@&#8203;rwbutler](https://github.com/rwbutler) in
[https://github.com/apple/swift-log/pull/298](https://github.com/apple/swift-log/pull/298)
- Update README.md add shipbook as backend by
[@&#8203;elishas](https://github.com/elishas) in
[https://github.com/apple/swift-log/pull/304](https://github.com/apple/swift-log/pull/304)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
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.

3 participants