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

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

Issue 1522203002: Remove public dart:isolate dependency from dart:developer (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 | « runtime/lib/developer.dart ('k') | sdk/lib/developer/extension.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 library dart.developer; 12 library dart.developer;
13 13
14 import 'dart:async'; 14 import 'dart:async';
15 import 'dart:convert'; 15 import 'dart:convert';
16 import 'dart:isolate' show SendPort;
17 16
18 part 'extension.dart'; 17 part 'extension.dart';
19 part 'profiler.dart'; 18 part 'profiler.dart';
20 part 'timeline.dart'; 19 part 'timeline.dart';
21 20
22 /// If [when] is true, stop the program as if a breakpoint were hit at the 21 /// If [when] is true, stop the program as if a breakpoint were hit at the
23 /// following statement. 22 /// following statement.
24 /// 23 ///
25 /// Returns the value of [when]. Some debuggers may display [message]. 24 /// Returns the value of [when]. Some debuggers may display [message].
26 /// 25 ///
(...skipping 19 matching lines...) Expand all
46 /// [error] (optional) an error object associated with this log event. 45 /// [error] (optional) an error object associated with this log event.
47 /// [stackTrace] (optional) a stack trace associated with this log event. 46 /// [stackTrace] (optional) a stack trace associated with this log event.
48 external void log(String message, 47 external void log(String message,
49 {DateTime time, 48 {DateTime time,
50 int sequenceNumber, 49 int sequenceNumber,
51 int level: 0, 50 int level: 0,
52 String name: '', 51 String name: '',
53 Zone zone, 52 Zone zone,
54 Object error, 53 Object error,
55 StackTrace stackTrace}); 54 StackTrace stackTrace});
OLDNEW
« no previous file with comments | « runtime/lib/developer.dart ('k') | sdk/lib/developer/extension.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698