flutter/packages/flutter_tools/lib
Jonah Williams f5de6aadd4
[flutter_tools] remove zone level overrides of verbose and daemon logging (#57448)
Make it possible for all FlutterCommands to be global free, by moving instantiation to inside the Zone context. Additionally, provide VerboseLogger and NotifyLogger (daemon) at the top level and remove from command-specific overrides.

This allows removing a work around where web devices needed to look up directly from the context in non-test code.

Technically the output preferences are still zone injected, but these will be moved soon as they were not being used correctly by the top level command (the injection comes after ArgParser reads the overflow values, causing numerous wrap issues)
2020-06-04 16:35:36 -07:00
..
src [flutter_tools] remove zone level overrides of verbose and daemon logging (#57448) 2020-06-04 16:35:36 -07:00
executable.dart [flutter_tools] remove zone level overrides of verbose and daemon logging (#57448) 2020-06-04 16:35:36 -07:00
runner.dart [flutter_tools] remove zone level overrides of verbose and daemon logging (#57448) 2020-06-04 16:35:36 -07:00