Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1824)

Unified Diff: pkg/analysis_server/lib/src/services/index/store/split_store.dart

Issue 685993004: Clean up logging uses (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analysis_server/test/services/index/store/split_store_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/services/index/store/split_store.dart
diff --git a/pkg/analysis_server/lib/src/services/index/store/split_store.dart b/pkg/analysis_server/lib/src/services/index/store/split_store.dart
index 1db798d5d9f8e8290fc63a4098e51d64bac3c071..6f2e1906f8c78fa77229ba87904ff33cde51ae89 100644
--- a/pkg/analysis_server/lib/src/services/index/store/split_store.dart
+++ b/pkg/analysis_server/lib/src/services/index/store/split_store.dart
@@ -82,10 +82,10 @@ class FileNodeManager implements NodeManager {
}
_DataInputStream stream = new _DataInputStream(bytes);
return _readNode(stream);
- }).catchError((e, stackTrace) {
- _logger.logError2(
+ }).catchError((exception, stackTrace) {
+ _logger.logError(
'Exception during reading index file ${name}',
- new CaughtException(e, stackTrace));
+ new CaughtException(exception, stackTrace));
});
}
@@ -108,10 +108,10 @@ class FileNodeManager implements NodeManager {
_writeNode(node, stream);
var bytes = stream.getBytes();
return _fileManager.write(name, bytes);
- }).catchError((e, stackTrace) {
- _logger.logError2(
+ }).catchError((exception, stackTrace) {
+ _logger.logError(
'Exception during reading index file ${name}',
- new CaughtException(e, stackTrace));
+ new CaughtException(exception, stackTrace));
});
}
« no previous file with comments | « no previous file | pkg/analysis_server/test/services/index/store/split_store_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698