|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.infinityloop.util.log.LogListenerImpl
de.infinityloop.util.log.LoggingBridge
public class LoggingBridge
This class acts as a logging system bridge bridge (yeah, twice! :-)), i.e. it is a LogSubscriber as far as the internal iloop logging architecture is concerned, and passes events on to the Log Bridge system, which again is a logging bridge for various gernerally available logging system implementations. Ususally, this class is attached to two LogPublishers, the StaticLogger and the application's logger.
| Field Summary |
|---|
| Fields inherited from class de.infinityloop.util.log.LogListenerImpl |
|---|
name, subscribedToList |
| Method Summary | |
|---|---|
java.lang.String |
getFile()
Returns the log file path currently in use if it can be determined, null otherwise. |
int |
getLevel()
Deprecated. |
static LoggingBridge |
getLoggingBridge()
Retrieve the logging bridge instance singleton. |
boolean |
receiveLogEvent(LogEvent le)
Called to request handling a LogEvent generated by one of the LogPublishers we are subscribed to. |
void |
reconfigure(java.lang.String logfile,
java.lang.String filterSpec)
Re-Set the log destination file and the log filter spec |
void |
setLevel(int level)
Deprecated. |
| Methods inherited from class de.infinityloop.util.log.LogListenerImpl |
|---|
addedTo, getFilter, getFilterspec, removedFrom, setFilter, setName, toString, unregisterFromAll |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public final java.lang.String getFile()
public static LoggingBridge getLoggingBridge()
public void reconfigure(java.lang.String logfile,
java.lang.String filterSpec)
logfile - the new log file pathfilterSpec - the new log filter specpublic boolean receiveLogEvent(LogEvent le)
receiveLogEvent in interface LogListenerreceiveLogEvent in class LogListenerImplle - the logging event
LogListener.receiveLogEvent(de.infinityloop.util.log.LogEvent)@Deprecated public int getLevel()
@Deprecated public void setLevel(int level)
level -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||