Class PerformanceLog

java.lang.Object
org.kuali.rice.ken.util.PerformanceLog

public final class PerformanceLog extends Object
Wrapper for the Log4J performance log
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • PerformanceLog

      public PerformanceLog()
  • Method Details

    • getInstance

      public static org.apache.logging.log4j.Logger getInstance()
      This method returns an instance of the logger object.
      Returns:
      Logger
    • startTimer

      public static PerformanceLog.PerformanceStopWatch startTimer(String message)
      This method returns a new stop watch instance.
      Parameters:
      message -
      Returns:
      PerformanceStopWatch
    • logDuration

      public static void logDuration(String message, long duration)
      This method logs the duration information for a given message.
      Parameters:
      message -
      duration -