|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.portal.log.Logger
public abstract class Logger
A Logger
object logs messages. These messages could detail
reasons why Exceptions
are thrown, or detail debugging
information.
Constructor Summary | |
---|---|
Logger()
|
Method Summary | |
---|---|
abstract void |
config(java.lang.String message)
Logs the specified error message. |
abstract void |
config(java.lang.String message,
java.lang.Throwable throwable)
Logs the specified error message and Throwable. |
abstract void |
debug(java.lang.String message)
Logs the specified debug message. |
abstract void |
destroy()
frees any resources the Logger might be using so the web application can shut down and re-started cleanly. |
int |
getLogLevel()
Returns the logging level. |
abstract void |
info(java.lang.String message)
Logs the given informational message. |
void |
initCurrentThread(MessageContext msgContext)
Performs per-thread initialization of a Logger. |
boolean |
isConfigEnabled()
Returns true if Configuration level logging is enabled. |
boolean |
isDebugEnabled()
Returns true if debug level logging is enabled. |
boolean |
isInfoEnabled()
Returns true if information level logging is enabled. |
boolean |
isPerfDetailEnabled()
Returns true if perf_detail level logging is enabled. |
boolean |
isPerfEnabled()
Returns true if Performance level logging is enabled. |
boolean |
isSevereEnabled()
Returns true if Severe error level logging is enabled. |
boolean |
isThrowingEnabled()
Returns true if exception level logging is enabled. |
boolean |
isWarningEnabled()
Returns true if Warning level logging is enabled. |
abstract void |
log(java.lang.String message)
Logs the specified message. |
abstract void |
log(java.lang.String message,
java.lang.Throwable throwable)
Logs the specified message and Throwable. |
abstract void |
perf(java.lang.String message)
Logs the given performance related message. |
abstract void |
perfdetail(java.lang.String message)
Logs the given detail performance related message. |
void |
resetCurrentThread()
Performs per-thread clean-up |
abstract void |
severe(java.lang.String message)
Logs the specified error message. |
abstract void |
severe(java.lang.String message,
java.lang.Throwable throwable)
Logs the specified error message and Throwable. |
abstract void |
throwing(java.lang.String message,
java.lang.Throwable throwable)
Logs the specified warning message and Throwable. |
abstract void |
warning(java.lang.String message)
Logs the given warning message. |
abstract void |
warning(java.lang.String message,
java.lang.Throwable throwable)
Logs the specified warning message and Throwable. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Logger()
Method Detail |
---|
public void initCurrentThread(MessageContext msgContext)
msgContext
- the MessageContext
object to be used to format
log messagespublic void resetCurrentThread()
public abstract void destroy()
public abstract void log(java.lang.String message)
message
- message to log.public abstract void log(java.lang.String message, java.lang.Throwable throwable)
message
- explanatory message.throwable
- a Throwable
exception.public abstract void config(java.lang.String message)
message
- error message to be logged.public abstract void config(java.lang.String message, java.lang.Throwable throwable)
message
- error message.throwable
- a Throwable
exception.public abstract void severe(java.lang.String message)
message
- error message to be logged.public abstract void severe(java.lang.String message, java.lang.Throwable throwable)
message
- error message.throwable
- a Throwable
exception.public abstract void warning(java.lang.String message)
message
- warning message to log.public abstract void warning(java.lang.String message, java.lang.Throwable throwable)
message
- explanatory message.throwable
- a Throwable
exception.public abstract void throwing(java.lang.String message, java.lang.Throwable throwable)
message
- explanatory message.throwable
- a Throwable
exception.public abstract void info(java.lang.String message)
message
- informational message to log.public abstract void perf(java.lang.String message)
message
- performance related message to log.public abstract void perfdetail(java.lang.String message)
message
- performance related message to log.public abstract void debug(java.lang.String message)
message
- debug message to log.public boolean isConfigEnabled()
public boolean isSevereEnabled()
public boolean isWarningEnabled()
public boolean isThrowingEnabled()
public boolean isInfoEnabled()
public boolean isPerfEnabled()
public boolean isPerfDetailEnabled()
public boolean isDebugEnabled()
public int getLogLevel()
|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |