Class DebugUtils


  • public class DebugUtils
    extends Object
    A class that allows you to easily add object identity / stack trace information. It's slow and expensive, so shouldn't be kept in production code
    • Method Detail

      • withLog

        public static DebugUtils withLog​(org.apache.logging.log4j.Logger log)
      • logTimingPoint

        public static void logTimingPoint​(String label,
                                          BuildTimingPoint event,
                                          org.apache.logging.log4j.Logger log1)
      • toggleSQLLogging

        public static void toggleSQLLogging​(org.apache.logging.log4j.Level logLevel)
        Sets the SQL logging
        Parameters:
        logLevel -