| Index: pkg/analyzer_cli/lib/src/analyzer_impl.dart
|
| diff --git a/pkg/analyzer_cli/lib/src/analyzer_impl.dart b/pkg/analyzer_cli/lib/src/analyzer_impl.dart
|
| index 32d5f3792c89ce7552ff5b565028e5f09037a305..e48d78c9a35df63c72c64989638a2d44973f0f73 100644
|
| --- a/pkg/analyzer_cli/lib/src/analyzer_impl.dart
|
| +++ b/pkg/analyzer_cli/lib/src/analyzer_impl.dart
|
| @@ -20,11 +20,11 @@ import 'package:analyzer_cli/src/driver.dart';
|
| import 'package:analyzer_cli/src/error_formatter.dart';
|
| import 'package:analyzer_cli/src/options.dart';
|
|
|
| -DirectoryBasedDartSdk sdk;
|
| -
|
| /// The maximum number of sources for which AST structures should be kept in the cache.
|
| const int _maxCacheSize = 512;
|
|
|
| +DirectoryBasedDartSdk sdk;
|
| +
|
| int currentTimeMillis() => new DateTime.now().millisecondsSinceEpoch;
|
|
|
| /// Analyzes single library [File].
|
| @@ -278,26 +278,10 @@ class StdLogger extends Logger {
|
| }
|
|
|
| @override
|
| - void logError2(String message, Object exception) {
|
| - errorSink.writeln(message);
|
| - if (exception != null) {
|
| - errorSink.writeln(exception.toString());
|
| - }
|
| - }
|
| -
|
| - @override
|
| void logInformation(String message, [CaughtException exception]) {
|
| outSink.writeln(message);
|
| if (exception != null) {
|
| outSink.writeln(exception);
|
| }
|
| }
|
| -
|
| - @override
|
| - void logInformation2(String message, Object exception) {
|
| - outSink.writeln(message);
|
| - if (exception != null) {
|
| - outSink.writeln(exception.toString());
|
| - }
|
| - }
|
| }
|
|
|