Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@JadKHaddad
Copy link
Contributor

Summary

Removes ugly code (generic swamp) in crates/biome_cli/src/logging.rs

Test Plan

I did not find any tests for setup_cli_subscriber. I would like to get some information on how to test the old implementation, so I can write the tests and test the new one.

@changeset-bot
Copy link

changeset-bot bot commented Sep 18, 2025

⚠️ No Changeset found

Latest commit: b1658f4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the A-CLI Area: CLI label Sep 18, 2025
Copy link
Member

@ematipico ematipico left a comment

Choose a reason for hiding this comment

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

That's an improvement! Thank you! Left some suggestions

@ematipico ematipico merged commit 8b93578 into biomejs:main Nov 11, 2025
11 checks passed
ematipico pushed a commit to hamirmahal/biome that referenced this pull request Nov 19, 2025
@cormacrelf
Copy link
Contributor

FYI, this disabled all logging because the impl Layer for OrderedVariants did not forward a single method to any of the variants.

cormacrelf added a commit to cormacrelf/biome that referenced this pull request Nov 24, 2025
That PR completely disabled logging because you can't just `impl Layer` without forwarding
any of the 600 million methods.
cormacrelf added a commit to cormacrelf/biome that referenced this pull request Nov 25, 2025
That PR completely disabled logging because you can't just `impl Layer` without forwarding
any of the 600 million methods.
cormacrelf added a commit to cormacrelf/biome that referenced this pull request Nov 25, 2025
That PR completely disabled logging because you can't just `impl Layer` without forwarding
any of the 600 million methods.
@JadKHaddad
Copy link
Contributor Author

@cormacrelf thanks

dyc3 added a commit that referenced this pull request Nov 25, 2025
Co-authored-by: Emanuele Stoppa <[email protected]>
Co-authored-by: Carson McManus <[email protected]>
l0ngvh pushed a commit to l0ngvh/biome that referenced this pull request Dec 21, 2025
l0ngvh pushed a commit to l0ngvh/biome that referenced this pull request Dec 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CLI Area: CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants