Skip to content

Commit

Permalink
#1 fix: rename property
Browse files Browse the repository at this point in the history
  • Loading branch information
susatthi committed Apr 30, 2022
1 parent e822025 commit 0fd05cd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/src/printers/single_pretty_printer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class SinglePrettyPrinter extends LogPrinter {
this.loggerName,
this.colors = true,
this.printCaller = true,
this.printEmoji = true,
this.printLevel = true,
this.printEmojis = true,
this.printLabels = true,
this.printTime = true,
this.stackTraceLevel = Level.nothing,
this.stackTraceMethodCount = 20,
Expand All @@ -34,10 +34,10 @@ class SinglePrettyPrinter extends LogPrinter {
final bool printCaller;

/// If set to true, the emoji will be output to the log.
final bool printEmoji;
final bool printEmojis;

/// If set to true, the log level string will be output to the log.
final bool printLevel;
final bool printLabels;

/// If set to true, the time stamp will be output to the log.
final bool printTime;
Expand Down Expand Up @@ -279,13 +279,13 @@ class SinglePrettyPrinter extends LogPrinter {
}) {
final buffer = <String>[];

if (printEmoji) {
if (printEmojis) {
buffer.add(levelEmojis[level]!);
}
if (loggerName != null) {
buffer.add(loggerName!);
}
if (printLevel) {
if (printLabels) {
buffer.add(levelLabels[level]!);
}
if (printTime) {
Expand Down

0 comments on commit 0fd05cd

Please sign in to comment.