|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinfo.informatica.log.LogRule
public class LogRule
Log configuration rule
| Constructor Summary | |
|---|---|
LogRule(String clase,
int level,
int hmax,
int dmax,
ExtendedLogger logger,
String initargs)
Create a LogRule object with the specified arguments and a null origin host |
|
LogRule(String ohost,
String clase,
int level,
int hmax,
int dmax,
ExtendedLogger logger,
String initargs)
Create a LogRule object with the specified arguments |
|
| Method Summary | |
|---|---|
void |
flush()
Flushes the (repeated) cached entries, if any |
int |
getDailyCount()
|
int |
getDailyLimit()
|
ExtendedLogger |
getExtendedLogger()
|
int |
getHourlyCount()
|
int |
getHourlyLimit()
|
String |
getInitArgs()
|
int |
getLevel()
|
String |
getLoggerName()
|
String |
getOriginClass()
|
String |
getOriginHost()
|
boolean |
limited()
|
boolean |
log(long logid,
String ohost,
String clase,
int level,
String s)
|
boolean |
log(long logid,
String ohost,
String clase,
int level,
Throwable t,
String s)
|
boolean |
samelog(String ohost,
String clase,
int level,
String s)
|
boolean |
samelog(String ohost,
String clase,
int level,
Throwable t,
String s)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogRule(String clase,
int level,
int hmax,
int dmax,
ExtendedLogger logger,
String initargs)
clase - Class producing the loglevel - Log levelhmax - Hourly maxdmax - Daily maxlogger - ExtendedLogger for this ruleinitargs - Initialization argument(s)
public LogRule(String ohost,
String clase,
int level,
int hmax,
int dmax,
ExtendedLogger logger,
String initargs)
ohost - Origin hostclase - Class producing the loglevel - Log levelhmax - Hourly maxdmax - Daily maxlogger - ExtendedLogger for this ruleinitargs - Initialization argument(s)| Method Detail |
|---|
public String getInitArgs()
public int getHourlyLimit()
public int getDailyLimit()
public int getHourlyCount()
public int getDailyCount()
public boolean log(long logid,
String ohost,
String clase,
int level,
String s)
throws LogException
LogException
public boolean log(long logid,
String ohost,
String clase,
int level,
Throwable t,
String s)
throws LogException
LogExceptionpublic void flush()
public boolean samelog(String ohost,
String clase,
int level,
String s)
public boolean samelog(String ohost,
String clase,
int level,
Throwable t,
String s)
public String getOriginHost()
public String getOriginClass()
public int getLevel()
public boolean limited()
public ExtendedLogger getExtendedLogger()
public String getLoggerName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||