Skip to content

Commit

Permalink
Document default LogLevel (dart-archive#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasfj authored Mar 12, 2019
1 parent 56d4fde commit 5036242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ messages.
Here is a simple logging configuration that logs all messages via `print`.

```dart
Logger.root.level = Level.ALL;
Logger.root.level = Level.ALL; // defaults to Level.INFO
Logger.root.onRecord.listen((record) {
print('${record.level.name}: ${record.time}: ${record.message}');
});
Expand Down

0 comments on commit 5036242

Please sign in to comment.