|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.util.swing.infobar.QualifiedLoggingBridge
public class QualifiedLoggingBridge
A bridge from qualified logging to fancy messaging.
Constructor Summary | |
---|---|
QualifiedLoggingBridge(MessageConsumer consumer)
|
Method Summary | |
---|---|
void |
error(QualifiedLogEvent event)
Callback method which will be invoked in case of an error. |
void |
fatal(QualifiedLogEvent event)
Callback method which will be invoked in case of a fatal event. |
Level |
getThreshold()
|
static QualifiedLoggingBridge |
install(LoggingConfiguration source,
MessageConsumer sink)
|
void |
setThreshold(Level threshold)
|
void |
warn(QualifiedLogEvent event)
Callback method which will be invoked in case of a warning. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QualifiedLoggingBridge(MessageConsumer consumer)
Method Detail |
---|
public static QualifiedLoggingBridge install(LoggingConfiguration source, MessageConsumer sink)
public void error(QualifiedLogEvent event)
QualifiedLogListener
QualifiedLogEvent
will not be null and contains the details of the
log event
error
in interface QualifiedLogListener
event
- the details of the log event as an QualifiedLogEvent
public void fatal(QualifiedLogEvent event)
QualifiedLogListener
QualifiedLogEvent
will not be null and contains the details of the
log event
fatal
in interface QualifiedLogListener
event
- the details of the log event as an QualifiedLogEvent
public void warn(QualifiedLogEvent event)
QualifiedLogListener
QualifiedLogEvent
will not be null and contains the details of the
log event
warn
in interface QualifiedLogListener
event
- the details of the log event as an QualifiedLogEvent
public Level getThreshold()
public void setThreshold(Level threshold)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |