Class DebugUtils

java.lang.Object
com.atlassian.bamboo.utils.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
  • Field Details

  • Method Details

    • 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)
    • logId

      public DebugUtils logId(String fieldName, Object o)
    • logStack

      public DebugUtils logStack()
    • toggleSQLLogging

      public static void toggleSQLLogging(org.apache.logging.log4j.Level level)
      Sets the SQL logging
      Parameters:
      level -
    • setLogLevel

      public static void setLogLevel(org.apache.logging.log4j.Logger logger, org.apache.logging.log4j.Level level)
    • setLogLevel

      public static void setLogLevel(String loggerName, org.apache.logging.log4j.Level level)
    • setRootLogLevel

      public static void setRootLogLevel(org.apache.logging.log4j.Level level)