com.atlassian.bamboo.utils
Class DebugUtils
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.