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

Side by Side Diff: pkg/analysis_server/lib/src/analysis_logger.dart

Issue 214933002: Clean-up and progress on analysis server (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analysis.logger; 5 library analysis.logger;
6 6
7 import 'package:analyzer/src/generated/engine.dart'; 7 import 'package:analyzer/src/generated/engine.dart';
8 import 'package:logging/logging.dart' as logging; 8 import 'package:logging/logging.dart' as logging;
9 9
10 /** 10 /**
(...skipping 10 matching lines...) Expand all
21 void logError(String message) { 21 void logError(String message) {
22 baseLogger.severe(message); 22 baseLogger.severe(message);
23 } 23 }
24 24
25 @override 25 @override
26 void logError2(String message, Exception exception) { 26 void logError2(String message, Exception exception) {
27 baseLogger.severe(message, exception); 27 baseLogger.severe(message, exception);
28 } 28 }
29 29
30 @override 30 @override
31 void logError3(Exception exception) {
32 baseLogger.severe("Exception", exception);
33 }
34
35 @override
36 void logInformation(String message) { 31 void logInformation(String message) {
37 baseLogger.info(message); 32 baseLogger.info(message);
38 } 33 }
39 34
40 @override 35 @override
41 void logInformation2(String message, Exception exception) { 36 void logInformation2(String message, Exception exception) {
42 baseLogger.info(message, exception); 37 baseLogger.info(message, exception);
43 } 38 }
44
45 @override
46 void logInformation3(String message, Exception exception) {
47 baseLogger.info(message, exception);
48 }
49 } 39 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/http_server.dart ('k') | pkg/analysis_server/lib/src/analysis_server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698