|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.emi.client.util.Log
public class Log
| Field Summary | |
|---|---|
static String |
CLIENT
|
static String |
DSR
logger prefix for services |
static String |
DSRCLIENT
logger prefix for client stack |
static String |
DSRDB
logger prefix for client stack |
static String |
SECURITY
|
| Constructor Summary | |
|---|---|
protected |
Log()
|
| Method Summary | |
|---|---|
static void |
cleanLogContext()
|
static String |
createFaultMessage(String message,
Throwable cause)
construct a user-friendly error message |
static org.apache.log4j.Logger |
getLogger(String prefix,
Class<?> clazz)
returns a logger, using the given prefix and the simple name of the given class |
static String |
getLoggerName(String prefix,
Class<?> clazz)
returns a logger name, using the given prefix and the simple name of the given class |
static void |
logException(String message,
Throwable cause)
log an error message to the default logger ("unicore.wsrflite") A human-friendly message is constructed and logged at "INFO" level. |
static void |
logException(String message,
Throwable cause,
org.apache.log4j.Logger logger)
log an error message to the specified logger. |
static void |
logException(Throwable cause)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DSR
public static final String DSRCLIENT
public static final String DSRDB
public static final String SECURITY
public static final String CLIENT
| Constructor Detail |
|---|
protected Log()
| Method Detail |
|---|
public static String getLoggerName(String prefix,
Class<?> clazz)
prefix - - the prefix to useclazz - - the class
public static org.apache.log4j.Logger getLogger(String prefix,
Class<?> clazz)
prefix - - the prefix to useclazz - - the class
public static void logException(String message,
Throwable cause)
message - - the error messagecause - - the cause of the error
public static void logException(String message,
Throwable cause,
org.apache.log4j.Logger logger)
message - - the error messagecause - - the cause of the errorlogger - - the logger to usepublic static void logException(Throwable cause)
public static String createFaultMessage(String message,
Throwable cause)
message - cause -
public static void cleanLogContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||