|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.protocols.rxa.LogProxyImpl
public final class LogProxyImpl
Proxy for the Logging framework.
| Constructor Summary | |
|---|---|
LogProxyImpl()
Constructor of the class |
|
LogProxyImpl(Log log)
Constructor with a Log object given |
|
| Method Summary | |
|---|---|
void |
close()
Close the output logger |
void |
debug(String res)
Logs a debug message |
void |
debug(String res,
Object param)
Logs a debug message |
void |
debug(String res,
Object[] params)
Logs a debug message |
void |
debug(String res,
Object param1,
Object param2)
Logs a debug message |
void |
dump(Object o)
This methods dumps an Object to the log file. |
void |
dumpEntry(Entry e)
Dumps a formatted message to the logfile from the contents of an Entry. |
void |
error(String res)
Logs an error message |
void |
error(String res,
Object[] params)
Logs an error message |
void |
error(String res,
Object[] params,
Throwable error)
Logs an error message |
void |
error(String res,
Object param,
Throwable error)
Logs an error message |
void |
error(String res,
String param)
Logs an error message |
void |
error(String res,
String param1,
String param2)
Logs an error message |
void |
error(String res,
Throwable error)
Logs an error message |
void |
fatal(String res)
Log a message with level fatal |
void |
fatal(String res,
Object param)
Log a message with level fatal |
void |
fatal(String res,
Object[] params)
Log a message with level fatal |
void |
fatal(String res,
Object param,
Throwable err)
Log a message with level fatal |
void |
fatal(String res,
Throwable err)
Log a message with level fatal |
void |
fine(String res)
Logs a debug message if logging is enabled |
void |
fine(String res,
Object param)
Logs a debug message if logging is enabled |
void |
fine(String res,
Object[] params)
Logs a debug message if logging is enabled |
void |
fine(String res,
Object param1,
Object param2)
Logs a debug message if logging is enabled |
boolean |
getDebug()
Return the value of the debug parameter. |
Log |
getLog()
retrieves the log file that we have. |
String |
getPrefix()
Returns the prefix to be prepended to all messages. |
String |
getString(String resource)
Return the NLS string given the resource. |
String |
getString(String resource,
Object param)
Return the NLS string given the resource and a parameter. |
String |
getString(String resource,
Object[] params)
Return the NLS string given the resource and an array of parameters. |
String |
getString(String resource,
Object param1,
Object param2)
Return the NLS string given the resource and two parameters. |
void |
info(String res)
Log a message with level info |
void |
info(String res,
Object param)
Log a message with level info |
void |
info(String res,
Object[] params)
Log a message with level info |
void |
info(String res,
Object param1,
Object param2)
Log a message with level info |
void |
log(String level,
String msg)
Log a message with the specified level |
void |
logdebug(String msg)
Log a message with debug level |
void |
logerror(String msg)
Log a message with error level |
void |
logerror(String msg,
Throwable error)
Log a message with error level |
void |
logfatal(String msg)
Log a message with fatal level |
void |
logfine(String msg)
Logs a message to the output stream. |
void |
loginfo(String msg)
Logs a message to the output stream. |
void |
logwarn(String msg)
Logs a message to the output stream. |
void |
setDebug(boolean debug)
Sets debug parameter. |
void |
setLog(Log log)
Set the log object we are proxy for. |
void |
setPrefix(String prefix)
Sets a prefix to be prepended to all messages. |
void |
warn(String res)
Log a message with level warning |
void |
warn(String res,
Object param)
Log a message with level warning |
void |
warn(String res,
Object[] params)
Log a message with level warning |
void |
warn(String res,
Object param1,
Object param2)
Log a message with level warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogProxyImpl()
public LogProxyImpl(Log log)
log - the server Log object| Method Detail |
|---|
public void close()
close in interface LogProxypublic void debug(String res)
debug in interface LogProxyres - Text of the message
public void debug(String res,
Object param)
debug in interface LogProxyres - Text of the messageparam - parameter of the message
public void debug(String res,
Object[] params)
debug in interface LogProxyres - Text of the messageparams - parameters of the message
public void debug(String res,
Object param1,
Object param2)
debug in interface LogProxyres - Text of the messageparam1 - First parameter of the messageparam2 - Second parameter of the messagepublic void dump(Object o)
dump in interface LogProxyo - Object to be dumpedpublic void dumpEntry(Entry e)
dumpEntry in interface LogProxye - Entry to be dumpedpublic void error(String res)
error in interface LogProxyres - Text of the message
public void error(String res,
Object[] params)
error in interface LogProxyres - Text of the messageparams - parameters of the message
public void error(String res,
Object[] params,
Throwable error)
error in interface LogProxyres - Text of the messageparams - parameters of the messageerror - Throwable error
public void error(String res,
Object param,
Throwable error)
error in interface LogProxyres - Text of the messageparam - parameter of the messageerror - Throwable error
public void error(String res,
String param)
error in interface LogProxyres - Text of the messageparam - parameter of the message
public void error(String res,
String param1,
String param2)
error in interface LogProxyres - Text of the messageparam1 - first parameters of the messageparam2 - second parameters of the message
public void error(String res,
Throwable error)
error in interface LogProxyres - Text of the messageerror - Throwable errorpublic void fatal(String res)
fatal in interface LogProxyres - Text of the message
public void fatal(String res,
Object param)
fatal in interface LogProxyres - Text of the messageparam - parameter of the message
public void fatal(String res,
Object[] params)
fatal in interface LogProxyres - Text of the messageparams - parameters of the message
public void fatal(String res,
Object param,
Throwable err)
fatal in interface LogProxyres - Text of the messageparam - parameter of the messageerr - Throwable error
public void fatal(String res,
Throwable err)
fatal in interface LogProxyres - Text of the messageerr - Throwable errorpublic void fine(String res)
fine in interface LogProxyres - Text of the message
public void fine(String res,
Object param)
fine in interface LogProxyres - Text of the messageparam - parameter of the message
public void fine(String res,
Object[] params)
fine in interface LogProxyres - Text of the messageparams - parameters of the message
public void fine(String res,
Object param1,
Object param2)
fine in interface LogProxyres - Text of the messageparam1 - first parameter of the messageparam2 - second parameter of the messagepublic boolean getDebug()
getDebug in interface LogProxypublic String getPrefix()
getPrefix in interface LogProxypublic String getString(String resource)
getString in interface LogProxyresource - String
public String getString(String resource,
Object param)
getString in interface LogProxyresource - Stringparam - parameter
public String getString(String resource,
Object[] params)
getString in interface LogProxyresource - Stringparams - Array of parameters
public String getString(String resource,
Object param1,
Object param2)
getString in interface LogProxyresource - Stringparam1 - first parameterparam2 - second parameter
public void info(String res)
info in interface LogProxyres - Text of the message
public void info(String res,
Object param)
info in interface LogProxyres - Text of the messageparam - parameter of the message
public void info(String res,
Object[] params)
info in interface LogProxyres - Text of the messageparams - parameters of the message
public void info(String res,
Object param1,
Object param2)
info in interface LogProxyres - Text of the messageparam1 - first parameter of the messageparam2 - second parameter of the message
public void log(String level,
String msg)
log in interface LogProxylevel - the level of the messagemsg - Text of the messagepublic void logdebug(String msg)
logdebug in interface LogProxymsg - Text of the messagepublic void logerror(String msg)
logerror in interface LogProxymsg - Text of the message
public void logerror(String msg,
Throwable error)
logerror in interface LogProxymsg - Text of the messageerror - Throwable errorpublic void logfatal(String msg)
logfatal in interface LogProxymsg - Text of the messagepublic void logfine(String msg)
logfine in interface LogProxymsg - Text of the messagepublic void loginfo(String msg)
loginfo in interface LogProxymsg - Text of the messagepublic void logwarn(String msg)
logwarn in interface LogProxymsg - Text of the messagepublic void setDebug(boolean debug)
setDebug in interface LogProxydebug - true or falsepublic void setPrefix(String prefix)
setPrefix in interface LogProxypublic void warn(String res)
warn in interface LogProxyres - Text of the message
public void warn(String res,
Object param)
warn in interface LogProxyres - Text of the messageparam - parameter of the message
public void warn(String res,
Object[] params)
warn in interface LogProxyres - Text of the messageparams - parameters of the message
public void warn(String res,
Object param1,
Object param2)
warn in interface LogProxyres - Text of the messageparam1 - first parameter of the messageparam2 - second parameter of the messagepublic Log getLog()
getLog in interface LogProxypublic void setLog(Log log)
log -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||