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 toggleSQLLogging(org.apache.log4j.Level logLevel)
           
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)

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)


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