|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectverinec.util.LogUtil
public class LogUtil
Utility class for logging using java.util.logging
| Constructor Summary | |
|---|---|
private |
LogUtil()
Only static methods, do not instantiate. |
| Method Summary | |
|---|---|
static void |
logException(Throwable t,
String classname,
String methodname,
String info)
Log an exception into the logger using the throwing() method of java.util.logging.Logger. |
static void |
logJdom(Logger l,
Element r)
Log a jdom xml tree to the logger. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private LogUtil()
| Method Detail |
|---|
public static void logException(Throwable t,
String classname,
String methodname,
String info)
t - The exception to log.classname - The classname for the logger.methodname - The methodname for the logger.info - Additional info to log with the exception.
public static void logJdom(Logger l,
Element r)
l - The logger object to log to.r - The element to log with all children.
|
Copyright © 2005 Verinec, DIUF | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||