Package main
Class Logger
java.lang.Object
main.Logger
Logger class containing the one static method to log data to a text file.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Logger
public Logger()
-
-
Method Details
-
log
This function logs log in attempts to a file: login_activity.txt- Parameters:
valid
- Boolean value representing if the login attempt was successfulusername
- String value to represent the account login attempt username- Throws:
IOException
-