|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILog
ILog objects provide a means for logging information for FFDC etc.
| Field Summary | |
|---|---|
static int |
ERROR
This constant indicates that a logging message is an error. |
static int |
INFO
This constant indicates that a logging message is informational. |
static int |
OK
This constant indicates that a logging message is Ok. |
static int |
WARNING
This constant indicates that a logging message is warning. |
| Method Summary | |
|---|---|
boolean |
isEnabled()
Returns true if logging is enabled. |
boolean |
isEnabled(java.lang.String option)
Returns true if this debug option is set to true. |
void |
log(int severity,
int messageNum,
java.lang.Object caller,
java.lang.String method,
org.eclipse.core.runtime.IStatus status)
Logs a Status. |
void |
log(int severity,
int messageNum,
java.lang.Object caller,
java.lang.String method,
java.lang.Object object)
Logs an Object. |
void |
log(int severity,
int messageNum,
java.lang.Object caller,
java.lang.String method,
java.lang.Throwable throwable)
Logs a Throwable. |
void |
log(int severity,
java.lang.String option,
int messageNum,
java.lang.Object caller,
java.lang.String method,
org.eclipse.core.runtime.IStatus status)
Logs a Status. |
void |
log(int severity,
java.lang.String option,
int messageNum,
java.lang.Object caller,
java.lang.String method,
java.lang.Object object)
Logs an Object. |
void |
log(int severity,
java.lang.String option,
int messageNum,
java.lang.Object caller,
java.lang.String method,
java.lang.Throwable throwable)
Logs a Throwable. |
| Field Detail |
|---|
static final int OK
static final int INFO
static final int WARNING
static final int ERROR
| Method Detail |
|---|
boolean isEnabled()
log methods, as they will
quietly do nothing if logging is disabled. This method can be
useful, however, anywhere the cost of building up the parameters
to a log method might be high and best avoided except when logging
is enabled.
boolean isEnabled(java.lang.String option)
option - this debug option string.
void log(int severity,
int messageNum,
java.lang.Object caller,
java.lang.String method,
java.lang.Throwable throwable)
Throwable.
severity - The severity of the logging entry.messageNum - The message number.caller - The object (for non-static methods) or class (for
static methods) doing the logging.method - The simple name of the method doing the loging.throwable - The Throwable to log.
void log(int severity,
java.lang.String option,
int messageNum,
java.lang.Object caller,
java.lang.String method,
java.lang.Throwable throwable)
Throwable.
severity - The severity of the logging entry.option - this debug option string.messageNum - The message number.caller - The object (for non-static methods) or class (for
static methods) doing the logging.method - The simple name of the method doing the loging.throwable - The Throwable to log.
void log(int severity,
int messageNum,
java.lang.Object caller,
java.lang.String method,
org.eclipse.core.runtime.IStatus status)
Status.
severity - The severity of the logging entry.messageNum - The message number.caller - The object (for non-static methods) or class (for
static methods) doing the logging.method - The simple name of the method doing the loging.status - The Status to log.
void log(int severity,
java.lang.String option,
int messageNum,
java.lang.Object caller,
java.lang.String method,
org.eclipse.core.runtime.IStatus status)
Status.
severity - The severity of the logging entry.option - this debug option string.messageNum - The message number.caller - The object (for non-static methods) or class (for
static methods) doing the logging.method - The simple name of the method doing the loging.status - The Status to log.
void log(int severity,
int messageNum,
java.lang.Object caller,
java.lang.String method,
java.lang.Object object)
Object.
severity - The severity of the logging entry.messageNum - The message number.caller - The object (for non-static methods) or class (for
static methods) doing the logging.method - The simple name of the method doing the loging.object - The Object to log.
void log(int severity,
java.lang.String option,
int messageNum,
java.lang.Object caller,
java.lang.String method,
java.lang.Object object)
Object.
severity - The severity of the logging entry.option - this debug option string.messageNum - The message number.caller - The object (for non-static methods) or class (for
static methods) doing the logging.method - The simple name of the method doing the loging.object - The Object to log.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||