|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.windchill.esi.utl.ESILogger
public final class ESILogger
A Wrapper class for performing Info*Engine LogWriter functions
(i.e. DEBUG, INFO, ERROR, AUDIT, TRANSACTION, STAT ).
It uses the com.infoengine.log.LogWriter to add log infomation
to a specific log file.
This provides a common place for ESI(i.e.Enterprise System Integration
) service to adjust the changes with com.infoengine.log.LogWriter,
and a common way to keep logging message format consistent.
Supported API: true
Extendable: false
LogWriter| Method Summary | |
|---|---|
static void |
audit(Object message)
Passes the argument to LogWriter.audit(). |
static void |
audit(Object source,
Object message)
Formats the two arguments and passes the result to LogWriter.audit(). |
static void |
debug(Object message)
Passes the argument to LogWriter.debug(). |
static void |
debug(Object source,
Object message)
Formats the two arguments and passes the result to LogWriter.audit(). |
static void |
enter(Object rtn)
Record entry into a routine in the debug log. |
static void |
error(Object message)
Passes the argument to LogWriter.error(). |
static void |
error(Object source,
Object message)
Formats the two arguments and passes the result to LogWriter.error(). |
static void |
exit(Object rtn)
Record exit from a routine in the debug log. |
static StringBuffer |
formatMessage(Object source,
Object message)
Concatenates two objects in a StringBuffer, separated by ": ". |
static void |
info(Object message)
Forwards the argument to LogWriter.info(). |
static void |
info(Object source,
Object message)
Formats the two arguments and passes the result to LogWriter.info(). |
static void |
logException(String source,
Throwable error)
Log an exception. |
static void |
logException(Throwable error)
Log an exception. |
static void |
stackTrace(String source,
Throwable error)
Log an exception stack trace. |
static void |
stackTrace(Throwable error)
Log an exception stacktrace. |
static void |
stat(Object message)
Forwards the argument to LogWriter.stat(). |
static void |
stat(Object source,
Object message)
Formats the two arguments and passes the result to LogWriter.stat(). |
static void |
transaction(Object message)
Forwards the argument to LogWriter.transaction(). |
static void |
transaction(Object source,
Object message)
Formats the two arguments and passes the result to LogWriter.transaction(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void audit(Object source,
Object message)
source - The prefix of the message.message - The message text.public static void audit(Object message)
message -
public static void debug(Object source,
Object message)
source - The text that prefixes the message.message - The message to display.public static void debug(Object message)
message - public static void enter(Object rtn)
rtn - The name of the routine.public static void exit(Object rtn)
rtn -
public static void error(Object source,
Object message)
source - The originator of the message.message - The text to display.public static void error(Object message)
message -
public static StringBuffer formatMessage(Object source,
Object message)
source - The prefix of the message.message - The message text.
public static void info(Object source,
Object message)
source - The prefix message.message - The message text.public static void info(Object message)
message - public static void logException(Throwable error)
error -
public static void logException(String source,
Throwable error)
source - The prefix to the message.error - The error to log.public static void stackTrace(Throwable error)
error -
public static void stackTrace(String source,
Throwable error)
source - error -
public static void stat(Object source,
Object message)
source - message - public static void stat(Object message)
message -
public static void transaction(Object source,
Object message)
source - message - public static void transaction(Object message)
message -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||