|
Oracle Secure Enterprise Search Java API Reference 11g Release 2 (11.2.2.0.0) E23429-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Logger
An interface used by Oracle SES SDK components to output messages to a log file.
| Method Summary | |
|---|---|
void |
debug(String logmessage)Logs the timestamp and the debug message. |
void |
debug(String logmessage, Object caller)Logs the class name and the debug message. |
void |
error(String logmessage)Logs the timestamp and the error message. |
void |
error(String logmessage, Object caller)Logs the class name and the error message. |
void |
error(Throwable e)Logs the timestamp and the Exception or Error. |
void |
fatal(String logmessage)Logs the timestamp and the fatal message. |
void |
fatal(String logmessage, Object caller)Logs the class name and the fatal message. |
void |
fatal(Throwable e)Logs the timestamp and the fatal exception. |
int |
getLogLevel()Returns the current logging level. |
void |
info(String logmessage)Logs the timestamp and the info message. |
void |
info(String logmessage, Object caller)Logs the class name and the info message. |
boolean |
isDebugEnabled()Checks if debug messages can be printed with current log level. |
void |
setLogLevel(int logLevel)Sets logging level. |
void |
trace(String logmessage)Logs the timestamp and the trace message. |
void |
trace(String logmessage, Object caller)Logs the class name and the trace message. |
void |
trace(Throwable e)Logs the timestamp and the full tracestack in debug mode. |
void |
warn(String logmessage)Logs the timestamp and the warning message. |
void |
warn(String logmessage, Object caller)Logs the class name and the warning message. |
| Method Detail |
|---|
void fatal(String logmessage,
Object caller)
logmessage - the log messagecaller - the calling objectvoid fatal(String logmessage)
logmessage - the log messagevoid fatal(Throwable e)
e - the Exception or Error to be logged
void error(String logmessage,
Object caller)
logmessage - the log messagecaller - the calling objectvoid error(String logmessage)
logmessage - the log messagevoid error(Throwable e)
Exception or Error.e - the Exception or Error to be logged
void warn(String logmessage,
Object caller)
logmessage - the log messagecaller - the calling objectvoid warn(String logmessage)
logmessage - the log message
void info(String logmessage,
Object caller)
logmessage - the log messagecaller - the calling objectvoid info(String logmessage)
logmessage - the log message
void debug(String logmessage,
Object caller)
logmessage - the log messagecaller - the calling objectvoid debug(String logmessage)
logmessage - the log messageint getLogLevel()
void setLogLevel(int logLevel)
logLevel - logging level in the range (0 - 10)void trace(Throwable e)
e - the Exception or Error to be logged
void trace(String logmessage,
Object caller)
logmessage - the log messagecaller - the calling objectvoid trace(String logmessage)
logmessage - the log messageboolean isDebugEnabled()
|
Oracle Secure Enterprise Search Java API Reference 11g Release 2 (11.2.2.0.0) E23429-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||