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 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()


Copyright © 2012 Atlassian. All Rights Reserved.