• Jonah Williams's avatar
    [flutter_tools] remove zone level overrides of verbose and daemon logging (#57448) · f5de6aad
    Jonah Williams authored
    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)
    f5de6aad
attach.dart 13.5 KB