Class SimpleLogger

java.lang.Object
org.evomaster.client.java.utils.SimpleLogger

public class SimpleLogger extends Object
Client library should be the least invasive as possible. Using a logger that could conflict with existing ones of the client would not be a great idea... plus issue with shading and version mismatch. So, here we create a simple, custom one that just print to System.out.println
  • Field Details

    • PROP_LOGGER_LEVEL

      public static final String PROP_LOGGER_LEVEL
      Property used to control the logging level by system property
      See Also:
  • Constructor Details

    • SimpleLogger

      public SimpleLogger()
  • Method Details

    • getThreshold

      public static SimpleLogger.Level getThreshold()
    • setThreshold

      public static void setThreshold(SimpleLogger.Level threshold)
    • updateThreshold

      public static void updateThreshold()
    • debug

      public static void debug(String message)
    • info

      public static void info(String message)
    • recordErrorMessage

      public static void recordErrorMessage(String message)
    • uniqueWarn

      public static void uniqueWarn(String message)
    • warn

      public static void warn(String message)
    • warn

      public static void warn(String message, Throwable t)
    • error

      public static void error(String message)
    • error

      public static void error(String message, Throwable t)
    • getRecordedErrorMsg

      public static List<String> getRecordedErrorMsg()