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

Side by Side Diff: sdk/lib/developer/developer.dart

Issue 2542003002: Add getIsolateID to Service class in dart:developer (Closed)
Patch Set: fix test Created 4 years 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
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/developer_patch.dart ('k') | sdk/lib/developer/service.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 /// Interact with developer tools such as the debugger and inspector. 5 /// Interact with developer tools such as the debugger and inspector.
6 /// 6 ///
7 /// The dart:developer library is _unstable_ and its API might change slightly 7 /// The dart:developer library is _unstable_ and its API might change slightly
8 /// as a result of developer feedback. This library is platform dependent and 8 /// as a result of developer feedback. This library is platform dependent and
9 /// therefore it has implementations for both dart2js and the Dart VM. Both are 9 /// therefore it has implementations for both dart2js and the Dart VM. Both are
10 /// under development and may not support all operations yet. 10 /// under development and may not support all operations yet.
11 /// 11 ///
12 /// To use this library in your code: 12 /// To use this library in your code:
13 /// 13 ///
14 /// import 'dart:developer'; 14 /// import 'dart:developer';
15 /// 15 ///
16 library dart.developer; 16 library dart.developer;
17 17
18 import 'dart:async'; 18 import 'dart:async';
19 import 'dart:convert'; 19 import 'dart:convert';
20 import 'dart:isolate' show RawReceivePort, SendPort; 20 import 'dart:isolate' show Isolate, RawReceivePort, SendPort;
21 21
22 part 'extension.dart'; 22 part 'extension.dart';
23 part 'profiler.dart'; 23 part 'profiler.dart';
24 part 'timeline.dart'; 24 part 'timeline.dart';
25 part 'service.dart'; 25 part 'service.dart';
26 26
27 /// If [when] is true, stop the program as if a breakpoint were hit at the 27 /// If [when] is true, stop the program as if a breakpoint were hit at the
28 /// following statement. 28 /// following statement.
29 /// 29 ///
30 /// Returns the value of [when]. Some debuggers may display [message]. 30 /// Returns the value of [when]. Some debuggers may display [message].
(...skipping 20 matching lines...) Expand all
51 /// [error] (optional) an error object associated with this log event. 51 /// [error] (optional) an error object associated with this log event.
52 /// [stackTrace] (optional) a stack trace associated with this log event. 52 /// [stackTrace] (optional) a stack trace associated with this log event.
53 external void log(String message, 53 external void log(String message,
54 {DateTime time, 54 {DateTime time,
55 int sequenceNumber, 55 int sequenceNumber,
56 int level: 0, 56 int level: 0,
57 String name: '', 57 String name: '',
58 Zone zone, 58 Zone zone,
59 Object error, 59 Object error,
60 StackTrace stackTrace}); 60 StackTrace stackTrace});
OLDNEW
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/developer_patch.dart ('k') | sdk/lib/developer/service.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698