diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 59f3942..2115836 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,10 +4,7 @@
-
-
-
-
+
@@ -415,21 +412,7 @@
-
-
-
- 1682463809020
-
-
-
- 1682463809021
-
-
- 1682497366697
-
-
-
- 1682497366698
+
1682512615874
@@ -760,7 +743,21 @@
1684700473635
-
+
+ 1684741961817
+
+
+
+ 1684741961818
+
+
+ 1684742248995
+
+
+
+ 1684742248995
+
+
@@ -796,7 +793,6 @@
-
@@ -821,7 +817,8 @@
-
+
+
diff --git a/ccsm-ui/src/main/java/stu/najah/se/ui/control/LogoutController.java b/ccsm-ui/src/main/java/stu/najah/se/ui/control/LogoutController.java
index d467153..a2bf88c 100644
--- a/ccsm-ui/src/main/java/stu/najah/se/ui/control/LogoutController.java
+++ b/ccsm-ui/src/main/java/stu/najah/se/ui/control/LogoutController.java
@@ -1,5 +1,7 @@
package stu.najah.se.ui.control;
+import stu.najah.se.core.service.aya.Logger;
+
import java.util.Scanner;
public class LogoutController {
@@ -15,11 +17,11 @@ public static void main(String[] args) {
while (true) {
if (loggedIn) {
- System.out.println("You are logged in.");
- System.out.println("Press 'l' to log out, or any other key to continue.");
+ Logger.print("You are logged in.");
+ Logger.print("Press 'l' to log out, or any other key to continue.");
} else {
- System.out.println("You are logged out.");
- System.out.println("Press 'l' to log in, or any other key to continue.");
+ Logger.print("You are logged out.");
+ Logger.print("Press 'l' to log in, or any other key to continue.");
}
@@ -29,12 +31,12 @@ public static void main(String[] args) {
if (input.equals("l")) {
loggedIn = !loggedIn; // toggle logged in status
} else {
- System.out.println("Continuing...");
+ Logger.print("Continuing...");
}
if (!loggedIn) {
- System.out.println("You are now logged out.");
+ Logger.print("You are now logged out.");
break;
}
}
@@ -43,4 +45,3 @@ public static void main(String[] args) {
scanner.close();
}
}
-