Class Logger

java.lang.Object
fr.sandro642.github.misc.Logger

public class Logger extends Object
Logger is a utility class for logging messages in the ConnectLib library. It provides methods to log messages with different severity levels: INFO, WARN, ERROR, and CRITICAL.
  • Constructor Details

    • Logger

      public Logger()
  • Method Details

    • INFO

      public void INFO(String msg)
      Method to display an informational message in the console. This method prints the message in green color and logs it.
      Parameters:
      msg -
    • WARN

      public void WARN(String msg)
      Method to display a warning message in the console. This method prints the message in yellow color and logs it.
      Parameters:
      msg -
    • ERROR

      public void ERROR(String msg)
      Method to display an error message in the console. This method prints the message in red color and logs it.
      Parameters:
      msg -
    • CRITICAL

      public void CRITICAL(String msg)
      Method to display a critical message in the console. This method prints the message in magenta color and logs it.
      Parameters:
      msg -