|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinfo.informatica.log.BaseLogger
info.informatica.log.ExtendedLogger
public abstract class ExtendedLogger
ExtendedLogger abstract class
| Field Summary |
|---|
| Fields inherited from interface info.informatica.log.Logger |
|---|
LOG_ALERT, LOG_CRIT, LOG_DEBUG, LOG_EMERG, LOG_ERR, LOG_INFO, LOG_NOTICE, LOG_WARNING |
| Constructor Summary | |
|---|---|
ExtendedLogger()
Constructor |
|
| Method Summary | |
|---|---|
static ExtendedLogger |
getExtendedLogger(String s)
Instantiates and initializes a logger |
void |
init(String s)
Initialize this logger You only need to implement this method if applicable, otherwise if you call it will throw an Exception |
void |
log(int level,
String s)
This must be implemented by Loggers |
void |
log(long logid,
String ohost,
String clase,
int level,
String s)
logs a message if haven't been logged previously by this logger |
void |
log(long logid,
String ohost,
String clase,
int level,
Throwable t,
String s)
logs an Exception if haven't been logged previously by this logger |
abstract void |
log(String ohost,
String clase,
int level,
String s)
This must be implemented by ExtendedLoggers |
abstract void |
log(String ohost,
String clase,
int level,
Throwable t,
String s)
This must be implemented by ExtendedLoggers |
| Methods inherited from class info.informatica.log.BaseLogger |
|---|
closeLog, getLogDate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendedLogger()
| Method Detail |
|---|
public void init(String s)
throws LogConfigException
You only need to implement this method if applicable, otherwise if you call it will throw an Exception
LogConfigException
public void log(long logid,
String ohost,
String clase,
int level,
String s)
logid - Log message IDohost - Origin hostclase - Class producing the loglevel - Log levels - Log message
public void log(long logid,
String ohost,
String clase,
int level,
Throwable t,
String s)
logid - Log message IDohost - Origin hostclase - Class producing the loglevel - Log levelt - The throwable exception to be loggeds - Log message
public static ExtendedLogger getExtendedLogger(String s)
throws LogConfigException
s - String with the class name and (optional)
initialization parameter
LogConfigException
public void log(int level,
String s)
log in interface Loggerlog in class BaseLoggerlevel - Log levels - Log message
public abstract void log(String ohost,
String clase,
int level,
String s)
ohost - Origin hostclase - Class producing the loglevel - Log levels - Log message
public abstract void log(String ohost,
String clase,
int level,
Throwable t,
String s)
ohost - Origin hostclase - Class producing the loglevel - Log levelt - The throwable exception to be loggeds - Log message
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||