Package org.onemind.commons.java.util
Class LogUtils
- java.lang.Object
-
- org.onemind.commons.java.util.LogUtils
-
public final class LogUtils extends java.lang.Object
Utility methods for loggin- Version:
- $Id: LogUtils.java,v 1.4 2005/08/08 05:21:51 thlee Exp $ $Name: $
- Author:
- TiongHiang Lee (thlee@onemindsoft.org)
-
-
Constructor Summary
Constructors Modifier Constructor Description private
LogUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getTrace(java.lang.Throwable e)
Get the stack trace in a stringstatic void
initLoggingFromClassPath()
Init java logging by looking for logging.properties in the class paths
-
-
-
Method Detail
-
initLoggingFromClassPath
public static void initLoggingFromClassPath()
Init java logging by looking for logging.properties in the class paths
-
getTrace
public static java.lang.String getTrace(java.lang.Throwable e)
Get the stack trace in a string- Parameters:
e
- the exception- Returns:
- the stack trace string
-
-