d85ab6df0c
There are no functional changes, just changes to the way the logging functionality is implemented. The motivation for the changes is to allow future CLs to explore ways of changing the expectations so that async handling of messages won't produce flaky tests. All references to the 'messageLog' outside the class have been replaced by higher-level methods with a semantic meaning. The class has been split into an interface and an implementation, which allows the test-specific aspects to be in the `test` directory. Some additional code cleanup was also done. Change-Id: Ie515f71153a96fb6e92eb8e2eb05f4b5e064bbd7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/421965 Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Phil Quitslund <pquitslund@google.com>