Make the beautify logging tool

(cherry picked from commit 3322703de81c2c53f45b25743071769f8bdabb55)
This commit is contained in:
dab246
2023-08-28 18:51:49 +07:00
committed by Dat Vu
parent 20c9777819
commit 566575fcb9
3 changed files with 42 additions and 11 deletions
+2 -2
View File
@@ -171,7 +171,7 @@ abstract class BaseController extends GetxController
}
void handleFailureViewState(Failure failure) {
logError('BaseController::handleFailureViewState(): $failure');
logError('BaseController::handleFailureViewState(): ${failure.runtimeType}');
if (failure is LogoutOidcFailure) {
if (_isFcmEnabled) {
_getSubscriptionLocalAction();
@@ -186,7 +186,7 @@ abstract class BaseController extends GetxController
}
void handleSuccessViewState(Success success) {
log('BaseController::handleSuccessViewState(): $success');
log('BaseController::handleSuccessViewState(): ${success.runtimeType}');
if (success is LogoutOidcSuccess) {
if (_isFcmEnabled) {
_getSubscriptionLocalAction();