Package main

Class Logger

java.lang.Object
main.Logger

public class Logger extends Object
Logger class containing the one static method to log data to a text file.
  • Constructor Details

    • Logger

      public Logger()
  • Method Details

    • log

      public static void log(Boolean valid, String username) throws IOException
      This function logs log in attempts to a file: login_activity.txt
      Parameters:
      valid - Boolean value representing if the login attempt was successful
      username - String value to represent the account login attempt username
      Throws:
      IOException