com.atlassian.bamboo.utils
Class DebugUtils

java.lang.Object
  extended by com.atlassian.bamboo.utils.DebugUtils

public class DebugUtils
extends java.lang.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 Summary
 DebugUtils logId(java.lang.String fieldName, java.lang.Object o)
           
 DebugUtils logStack()
           
static void logTimingPoint(java.lang.String label, BuildTimingPoint event, org.apache.log4j.Logger log1)
           
static void toggleSQLLogging(org.apache.log4j.Level logLevel)
          Sets the SQL logging
static DebugUtils withLog(org.apache.log4j.Logger log)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

withLog

public static DebugUtils withLog(org.apache.log4j.Logger log)

logTimingPoint

public static void logTimingPoint(java.lang.String label,
                                  BuildTimingPoint event,
                                  org.apache.log4j.Logger log1)

logId

public DebugUtils logId(java.lang.String fieldName,
                        java.lang.Object o)

logStack

public DebugUtils logStack()

toggleSQLLogging

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

Parameters:
logLevel -


Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.