Skip to content

Simplify logging code in flutter_driver#45945

Merged
Hixie merged 2 commits intoflutter:masterfrom
Hixie:driver_logger
Dec 4, 2019
Merged

Simplify logging code in flutter_driver#45945
Hixie merged 2 commits intoflutter:masterfrom
Hixie:driver_logger

Conversation

@Hixie
Copy link
Copy Markdown
Contributor

@Hixie Hixie commented Dec 2, 2019

It appears nobody is benefitting from this logic, so we may as well not pay the cost.

cc @yjbanov

@fluttergithubbot fluttergithubbot added a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. tool Affects the "flutter" command-line tool. See also t: labels. labels Dec 2, 2019
Copy link
Copy Markdown
Contributor

@yjbanov yjbanov left a comment

Choose a reason for hiding this comment

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

LGTM, but heads up, this is a breaking change.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

A lot of these messages would be just noise for most normal usages of flutter driver, but since we seem to be printing everything all the time anyway, then sure 🤷‍♂

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I audited them all and they seemed pretty reasonable.

@Hixie
Copy link
Copy Markdown
Contributor Author

Hixie commented Dec 3, 2019

Our breaking change policy has changed, this isn't a breaking change according to the new definitions.

Hixie added 2 commits December 3, 2019 14:16
It appears nobody is benefitting from this logic, so we may as well not pay the cost.
This is the second attempt at this; it should be better than before because the Logger interface, which conflicted in various places, no longer exists.

See flutter#45733 for original attempt.

This reverts commit 0ce9206 (PR flutter#45924).
@Hixie Hixie merged commit 97495d8 into flutter:master Dec 4, 2019
@Hixie Hixie deleted the driver_logger branch December 4, 2019 01:14
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants