Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Fix incorrect FML_VLOG() severity usage #50118

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Conversation

mbrase
Copy link
Contributor

@mbrase mbrase commented Jan 27, 2024

The FML_VLOG() macros are designed to use a positive integers, since they pass -severity to the LogMessage constructor. The negative severity can also cause some surprising behavior with log filtering. This change update usages of FML_VLOG(-1) to FML_VLOG(1).

flutter/flutter#141924

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

The FML_VLOG() macros are designed to use a positive integers, since
they pass -severity to the LogMessage constructor. The negative severity
can also cause some surprising behavior with log filtering. This change
update usages of FML_VLOG(-1) to FML_VLOG(1).

flutter/flutter#141924
@mbrase mbrase self-assigned this Jan 27, 2024
@mbrase mbrase requested a review from jrwang January 27, 2024 08:42
@mbrase mbrase merged commit 438e9b4 into flutter:main Jan 30, 2024
@mbrase mbrase deleted the fix_fml_vlog_usage branch January 30, 2024 04:23
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 30, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jan 30, 2024
…142508)

flutter/engine@ed73d40...438e9b4

2024-01-30 [email protected] Fix incorrect FML_VLOG() severity usage (flutter/engine#50118)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants