|
Ujorm release 1.22 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UjoLogger
Ujorm Logger Interface
| Method Summary | |
|---|---|
boolean |
isLoggable(java.util.logging.Level INFO)
Check if a message of the given level would actually be logged by this logger. |
void |
log(java.util.logging.Level level,
java.lang.String message)
Log a message, with no arguments. |
void |
log(java.util.logging.Level SEVERE,
java.lang.String message,
java.lang.Object... parameters)
Log a message, with an array of object arguments. |
void |
log(java.util.logging.Level level,
java.lang.String message,
java.lang.Throwable e)
Log a message, with associated Throwable information. |
| Method Detail |
|---|
boolean isLoggable(java.util.logging.Level INFO)
level - a message logging level
void log(java.util.logging.Level level,
java.lang.String message)
If the logger is currently enabled for the given message level then the given message is forwarded to all the registered output Handler objects.
level - One of the message level identifiers, e.g. SEVEREmsg - The string message (or a key in the message catalog)
void log(java.util.logging.Level level,
java.lang.String message,
java.lang.Throwable e)
If the logger is currently enabled for the given message level then the given arguments are stored in a LogRecord which is forwarded to all registered output handlers.
Note that the thrown argument is stored in the LogRecord thrown property, rather than the LogRecord parameters property. Thus is it processed specially by output Formatters and is not treated as a formatting parameter to the LogRecord message property.
level - One of the message level identifiers, e.g. SEVEREmsg - The string message (or a key in the message catalog)thrown - Throwable associated with log message.
void log(java.util.logging.Level SEVERE,
java.lang.String message,
java.lang.Object... parameters)
If the logger is currently enabled for the given message level then a corresponding LogRecord is created and forwarded to all the registered output Handler objects.
level - One of the message level identifiers, e.g. SEVEREmsg - The string message (or a key in the message catalog)params - array of parameters to the message
|
Ujorm release 1.22 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||