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

Side by Side Diff: pkg/barback/lib/src/log.dart

Issue 261823008: Reorganize barback's source files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: re-add barback/lib/src/internal_asset.dart Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/barback/lib/src/lazy_transformer.dart ('k') | pkg/barback/lib/src/multiset.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 library barback.log; 5 library barback.log;
6 6
7 import 'package:source_maps/span.dart'; 7 import 'package:source_maps/span.dart';
8 8
9 import 'asset_id.dart'; 9 import 'asset/asset_id.dart';
10 import 'errors.dart'; 10 import 'errors.dart';
11 11
12 /// The severity of a logged message. 12 /// The severity of a logged message.
13 class LogLevel { 13 class LogLevel {
14 static const INFO = const LogLevel("Info"); 14 static const INFO = const LogLevel("Info");
15 static const FINE = const LogLevel("Fine"); 15 static const FINE = const LogLevel("Fine");
16 static const WARNING = const LogLevel("Warning"); 16 static const WARNING = const LogLevel("Warning");
17 static const ERROR = const LogLevel("Error"); 17 static const ERROR = const LogLevel("Error");
18 18
19 final String name; 19 final String name;
(...skipping 12 matching lines...) Expand all
32 32
33 final LogLevel level; 33 final LogLevel level;
34 final String message; 34 final String message;
35 35
36 /// The location that the message pertains to or null if not associated with 36 /// The location that the message pertains to or null if not associated with
37 /// a source [Span]. 37 /// a source [Span].
38 final Span span; 38 final Span span;
39 39
40 LogEntry(this.transform, this.assetId, this.level, this.message, this.span); 40 LogEntry(this.transform, this.assetId, this.level, this.message, this.span);
41 } 41 }
OLDNEW
« no previous file with comments | « pkg/barback/lib/src/lazy_transformer.dart ('k') | pkg/barback/lib/src/multiset.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698