public class QualifiedLoggingBridge extends Object implements QualifiedLogListener
Constructor and Description |
---|
QualifiedLoggingBridge(MessageConsumer consumer) |
Modifier and Type | Method and Description |
---|---|
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.
|
public QualifiedLoggingBridge(MessageConsumer consumer)
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 eventerror
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 eventfatal
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 eventwarn
in interface QualifiedLogListener
event
- the details of the log event as an QualifiedLogEvent
public Level getThreshold()
public void setThreshold(Level threshold)
Copyright © 2024 levigo holding gmbh. All rights reserved.