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

Unified Diff: sdk/lib/_internal/pub/lib/src/log.dart

Issue 344493003: Update doc comments to follow style guide. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/io.dart ('k') | sdk/lib/_internal/pub/lib/src/oauth2.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/lib/src/log.dart
diff --git a/sdk/lib/_internal/pub/lib/src/log.dart b/sdk/lib/_internal/pub/lib/src/log.dart
index c5e626970f55b2aa39e7b6aecb2a4691bf5a736f..d364f8cb345d3c716ad243fdfcce7df57bcd7605 100644
--- a/sdk/lib/_internal/pub/lib/src/log.dart
+++ b/sdk/lib/_internal/pub/lib/src/log.dart
@@ -60,8 +60,9 @@ final _bold = getSpecial('\u001b[1m');
/// By default, [ERROR] and [WARNING] messages are printed to sterr. [MESSAGE]
/// messages are printed to stdout, and others are ignored.
class Level {
- /// An error occurred and an operation could not be completed. Usually shown
- /// to the user on stderr.
+ /// An error occurred and an operation could not be completed.
+ ///
+ /// Usually shown to the user on stderr.
static const ERROR = const Level._("ERR ");
/// Something unexpected happened, but the program was able to continue,
@@ -78,9 +79,11 @@ class Level {
/// Incremental output during pub's version constraint solver.
static const SOLVER = const Level._("SLVR");
- /// Fine-grained and verbose additional information. Can be used to provide
- /// program state context for other logs (such as what pub was doing when an
- /// IO operation occurred) or just more detail for an operation.
+ /// Fine-grained and verbose additional information.
+ ///
+ /// Used to provide program state context for other logs (such as what pub
+ /// was doing when an IO operation occurred) or just more detail for an
+ /// operation.
static const FINE = const Level._("FINE");
const Level._(this.name);
@@ -218,10 +221,11 @@ void write(Level level, message) {
if (_transcript != null) _transcript.add(entry);
}
-/// Logs an asynchronous IO operation. Logs [startMessage] before the operation
-/// starts, then when [operation] completes, invokes [endMessage] with the
-/// completion value and logs the result of that. Returns a future that
-/// completes after the logging is done.
+/// Logs an asynchronous IO operation.
+///
+/// Logs [startMessage] before the operation starts, then when [operation]
+/// completes, invokes [endMessage] with the completion value and logs the
+/// result of that. Returns a future that completes after the logging is done.
///
/// If [endMessage] is omitted, then logs "Begin [startMessage]" before the
/// operation and "End [startMessage]" after it.
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/io.dart ('k') | sdk/lib/_internal/pub/lib/src/oauth2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698