org.onemind.commons.java.util
Class LogUtils

java.lang.Object
  extended by 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
private LogUtils()
          
 
Method Summary
static java.lang.String getTrace(java.lang.Throwable e)
          Get the stack trace in a string
static void initLoggingFromClassPath()
          Init java logging by looking for logging.properties in the class paths
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogUtils

private LogUtils()

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