|
Add logging system to pub and sprinkle some logging in.
We'll have to tune which things we log over time, but this covers
most IO operations which is where almost all of our problems come
from.
This patch also means that going forward you should no longer call
print() or printError() (which is gone) directly. Instead:
print() -> log.message()
printError() -> log.error()
That ensures all messages will correctly get added to the log's
transcript.
Committed: https://code.google.com/p/dart/source/detail?r=15827
Total comments: 87
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+500 lines, -100 lines) |
Patch |
|
M |
pkg/http/lib/src/base_request.dart
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/http/test/request_test.dart
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
utils/pub/command_help.dart
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
utils/pub/command_install.dart
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
utils/pub/command_lish.dart
|
View
|
1
2
3
|
4 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
|
M |
utils/pub/command_update.dart
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
utils/pub/curl_client.dart
|
View
|
1
2
|
4 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
utils/pub/entrypoint.dart
|
View
|
1
2
3
|
5 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
|
M |
utils/pub/git.dart
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
utils/pub/hosted_source.dart
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
utils/pub/io.dart
|
View
|
1
2
3
|
29 chunks |
+113 lines, -33 lines |
0 comments
|
Download
|
|
A |
utils/pub/log.dart
|
View
|
1
2
3
4
|
1 chunk |
+217 lines, -0 lines |
0 comments
|
Download
|
|
M |
utils/pub/oauth2.dart
|
View
|
1
2
3
|
6 chunks |
+27 lines, -15 lines |
0 comments
|
Download
|
|
M |
utils/pub/pub.dart
|
View
|
1
2
3
4
|
10 chunks |
+63 lines, -28 lines |
0 comments
|
Download
|
|
M |
utils/pub/system_cache.dart
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
utils/pub/validator.dart
|
View
|
1
2
3
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
utils/pub/version_solver.dart
|
View
|
1
2
3
|
6 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
utils/tests/pub/pub_test.dart
|
View
|
|
1 chunk |
+10 lines, -3 lines |
0 comments
|
Download
|
|
M |
utils/tests/pub/test_pub.dart
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|