|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BasicLogger
This interface defines a customized version of the Logger
API exposing only its basic, most commonly used methods.
Method Summary | |
---|---|
java.lang.String |
getName() Retrieve the logger's name. |
boolean |
isLoggable(java.util.logging.Level level) Confirms whether or not the logger is currently set to publish messages at the given level. |
void |
log(java.util.logging.Level level, java.lang.String message) Log a message at the specified level, if and only if the logger is currently set to publish messages at that level. |
void |
log(java.util.logging.Level level, java.lang.String message, java.lang.Throwable error) Log a message at the specified level, if and only if the logger is currently set to publish messages at that level. |
void |
log(java.util.logging.Level level, java.lang.Throwable error) Log a message at the specified level, based on the given error, if and only if the logger is currently set to publish messages at that level. |
Method Detail |
---|
java.lang.String getName()
void log(java.util.logging.Level level, java.lang.String message)
level
- The level which the message should be logged atmessage
- The message to be loggedvoid log(java.util.logging.Level level, java.lang.String message, java.lang.Throwable error)
level
- The level which the message should be logged atmessage
- The message to be loggederror
- Error which to include relevant details from. It is up to each implementation to decide which details are relevant.void log(java.util.logging.Level level, java.lang.Throwable error)
level
- The level which the message should be logged aterror
- Error which to derive the log message and also include relevant details from. It is up to each implementation to decide the log message and which details are relevant to include.boolean isLoggable(java.util.logging.Level level)
level
- Level to check
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |