org.tranche.logs
Class LogUtil
java.lang.Object
org.tranche.logs.LogUtil
public class LogUtil
- extends java.lang.Object
Utility code to help send logs to the appropriate groups.
- Author:
- Jayson Falkner - jfalkner@umich.edu, Bryan Smith - bryanesmith@gmail.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogUtil
public LogUtil()
logError
public static void logError(java.lang.Exception e)
- Helper method to log an exception to the Tranche error log.
- Parameters:
e -
logError
public static void logError(java.util.Set<java.lang.Exception> e)
- Parameters:
e -
logError
public static void logError(java.lang.Exception e,
java.lang.String description,
UserZipFile uzf)
- Parameters:
e - description - uzf -
logError
public static void logError(java.util.Set<java.lang.Exception> exceptions,
java.lang.String description,
UserZipFile uzf)
- Helper method to log an exception to the Tranche error log.
- Parameters:
e - description - uzf -
getEnvironmentDump
public static final java.lang.String getEnvironmentDump()
- Returns:
getServersDump
public static final java.lang.String getServersDump()
- Returns:
getThreadDump
public static final java.lang.String getThreadDump()
- Returns:
getTroubleshootingInformation
public static final java.lang.String getTroubleshootingInformation()
- Returns:
getTroubleshootingInformationFile
public static final java.io.File getTroubleshootingInformationFile()
- Returns:
This code is free for use both commercially and non-commercially as stated in the project's license