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

Unified Diff: runtime/observatory/tests/ui/log.dart

Issue 1266053003: Make dart:developer log more user friendly (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
Index: runtime/observatory/tests/ui/log.dart
diff --git a/runtime/observatory/tests/ui/log.dart b/runtime/observatory/tests/ui/log.dart
index 0ee2fa70e68c2f29f94b5a9d26d0018475ebe4f1..8bd19408ecb69cf67e17081ad522cc697062ad2e 100644
--- a/runtime/observatory/tests/ui/log.dart
+++ b/runtime/observatory/tests/ui/log.dart
@@ -1,7 +1,6 @@
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// VMOptions=--compile_all --error_on_bad_type --error_on_bad_override
import 'dart:async';
import 'dart:developer' as developer;
@@ -11,11 +10,11 @@ main() {
Logger.root.level = Level.ALL;
Logger.root.onRecord.listen((logRecord) {
developer.log(
+ logRecord.message,
+ time: logRecord.time,
sequenceNumber: logRecord.sequenceNumber,
- millisecondsSinceEpoch: logRecord.time.millisecondsSinceEpoch,
level: logRecord.level.value,
name: logRecord.loggerName,
- message: logRecord.message,
zone: null,
error: logRecord.error,
stackTrace: logRecord.stackTrace);
« no previous file with comments | « runtime/observatory/tests/service/logging_test.dart ('k') | sdk/lib/_internal/js_runtime/lib/developer_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698