|
Jumpi v1.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Logs Info, Warning or Error Messages on behalf of Components. A Logger implementation may allow log filtering on a Component level and configuration of the logging level to use. Specific implementations may log to files, System.out/err or any other mechanism.
Method Summary | |
void |
error(Component component,
java.lang.String message)
Log an Error level message for the Component. |
void |
error(Component component,
java.lang.String message,
java.lang.Throwable t)
Log an Error level message for the Component. |
void |
info(Component component,
java.lang.String message)
Log an Info level message for the Component. |
void |
info(Component component,
java.lang.String message,
java.lang.Throwable t)
Log an Info level message for the Component. |
boolean |
isLoggingError(Component component)
Whether Error level messages are logged for the Component. |
boolean |
isLoggingInfo(Component component)
Whether Info level messages are logged for the Component. |
boolean |
isLoggingWarning(Component component)
Whether Warn level messages are logged for the Component. |
void |
warn(Component component,
java.lang.String message)
Log a Warn level message for the Component. |
void |
warn(Component component,
java.lang.String message,
java.lang.Throwable t)
Log a Warn level message for the Component. |
Methods inherited from interface org.jumpi.spi.Configurable |
configure, getName |
Methods inherited from interface org.jumpi.spi.Manageable |
manage |
Method Detail |
public boolean isLoggingInfo(Component component)
component
- the Component issueing the log message.
public void info(Component component, java.lang.String message)
component
- the Component issueing the log message.message
- the message text to log.public void info(Component component, java.lang.String message, java.lang.Throwable t)
component
- the Component issueing the log message.message
- the message text to log.t
- a related Throwable exception.public boolean isLoggingWarning(Component component)
component
- the Component issueing the log message.
public void warn(Component component, java.lang.String message)
component
- the Component issueing the log message.message
- the message text to log.public void warn(Component component, java.lang.String message, java.lang.Throwable t)
component
- the Component issueing the log message.message
- the message text to log.t
- a related Throwable exception.public boolean isLoggingError(Component component)
component
- the Component issueing the log message.
public void error(Component component, java.lang.String message)
component
- the Component issueing the log message.message
- the message text to log.public void error(Component component, java.lang.String message, java.lang.Throwable t)
component
- the Component issueing the log message.message
- the message text to log.t
- a related Throwable exception.
|
Jumpi v1.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |