enable lint prefer_single_quotes (#12665)
This commit is contained in:
committed by
GitHub
parent
b07ea41954
commit
1fce14a31c
@@ -96,7 +96,7 @@ class LogRecord {
|
||||
///
|
||||
/// It is meant to be read by humans. There's no guarantee that this value is
|
||||
/// stable enough to be parsed by machines.
|
||||
String get levelDescription => level.toString().split(".").last;
|
||||
String get levelDescription => level.toString().split('.').last;
|
||||
|
||||
@override
|
||||
String toString() => '[${levelDescription.padRight(5)}] $loggerName: $message';
|
||||
|
||||
Reference in New Issue
Block a user