com.atlassian.bamboo.utils
Class DebugUtils

java.lang.Object
  extended by 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


Method Summary
 DebugUtils logId(String fieldName, Object o)
           
 DebugUtils logStack()
           
static void logTimingPoint(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(String label,
                                  BuildTimingPoint event,
                                  org.apache.log4j.Logger log1)

logId

public DebugUtils logId(String fieldName,
                        Object o)

logStack

public DebugUtils logStack()

toggleSQLLogging

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

Parameters:
logLevel -


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.