Package com.atlassian.bamboo.utils
Class DebugUtils
java.lang.Object
com.atlassian.bamboo.utils.DebugUtils
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
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionlogStack()
static void
logTimingPoint
(String label, BuildTimingPoint event, org.apache.logging.log4j.Logger log1) static void
setLogLevel
(String loggerName, org.apache.logging.log4j.Level level) static void
setLogLevel
(org.apache.logging.log4j.Logger logger, org.apache.logging.log4j.Level level) static void
setRootLogLevel
(org.apache.logging.log4j.Level level) static void
toggleSQLLogging
(org.apache.logging.log4j.Level level) Sets the SQL loggingstatic DebugUtils
withLog
(org.apache.logging.log4j.Logger log)
-
Field Details
-
HIBERNATE_SQL_LOGGER_NAME
- See Also:
-
-
Method Details
-
withLog
-
logTimingPoint
public static void logTimingPoint(String label, BuildTimingPoint event, org.apache.logging.log4j.Logger log1) -
logId
-
logStack
-
toggleSQLLogging
public static void toggleSQLLogging(org.apache.logging.log4j.Level level) Sets the SQL logging- Parameters:
level
-
-
setLogLevel
public static void setLogLevel(org.apache.logging.log4j.Logger logger, org.apache.logging.log4j.Level level) -
setLogLevel
-
setRootLogLevel
public static void setRootLogLevel(org.apache.logging.log4j.Level level)
-