Skip to content

Fix OutputHandler.print method API#9683

Open
bripeticca wants to merge 6 commits intoswiftlang:mainfrom
bripeticca:logging/verbosity
Open

Fix OutputHandler.print method API#9683
bripeticca wants to merge 6 commits intoswiftlang:mainfrom
bripeticca:logging/verbosity

Conversation

@bripeticca
Copy link
Contributor

@bripeticca bripeticca commented Feb 4, 2026

  • Modify the method signature to instead use a condition in the form of an enum (OutputCondition) to clarify that this parameter serves to check whether the output should be printed depending on if the logLevel is verbose.
  • Fix areas where this method is called

@bripeticca
Copy link
Contributor Author

@swift-ci please test

@bripeticca
Copy link
Contributor Author

@swift-ci please test

clearer condition API for the print method introduced,
making it easier to deduce whether the text should be
emitted depending on the verbosity level.
@bripeticca
Copy link
Contributor Author

@swift-ci please test

@bripeticca
Copy link
Contributor Author

@swift-ci test windows

Copy link
Contributor

@bkhouri bkhouri left a comment

Choose a reason for hiding this comment

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

I had a couple blocking comments .

@bripeticca
Copy link
Contributor Author

@swift-ci please test

@bripeticca
Copy link
Contributor Author

@swift-ci please test windows

Copy link
Contributor

@bkhouri bkhouri left a comment

Choose a reason for hiding this comment

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

Looks good.

@bripeticca
Copy link
Contributor Author

@swift-ci test

@bripeticca
Copy link
Contributor Author

@swift-ci test

@bripeticca
Copy link
Contributor Author

@swift-ci test windows

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.

3 participants