Skip to content

Commit

Permalink
Resolve all old text field still using in code issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyTai committed Nov 9, 2022
1 parent 3592c32 commit 0a1352c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/utils/formatter/formatter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Formatter {

output = "{${log.className}} ";
output += "{${log.methodName}} ";
output += "{${log.text}} ";
output += "{${log.message}} ";
output += log.exception != 'null' ? "{${log.exception}} " : "";
output += "{${log.logLevel.toString()}} ";
output += "{${log.timestamp}} ";
Expand All @@ -53,7 +53,7 @@ class Formatter {

output = "[${log.className}] ";
output += "[${log.methodName}] ";
output += "[${log.text}] ";
output += "[${log.message}] ";
output += log.exception != 'null' ? "[${log.exception}] " : "";
output += "[${log.logLevel.toString()}] ";
output += "[${log.timestamp}] ";
Expand All @@ -73,7 +73,7 @@ class Formatter {

output = "${log.className}$deliminator ";
output += "${log.methodName}$deliminator ";
output += "${log.text}$deliminator ";
output += "${log.message}$deliminator ";
output += log.exception != 'null' ? "${log.exception}$deliminator " : "";
output += "${log.logLevel.toString()}$deliminator ";
output += "${log.timestamp} ";
Expand Down Expand Up @@ -106,7 +106,7 @@ class Formatter {
output += "$openingDivider${log.methodName}$closingDivider ";
}
if (fieldName == FieldName.TEXT) {
output += "$openingDivider${log.text}$closingDivider ";
output += "$openingDivider${log.message}$closingDivider ";
}
if (fieldName == FieldName.EXCEPTION) {
output += log.exception != 'null'
Expand Down

0 comments on commit 0a1352c

Please sign in to comment.