|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.util.log.config.LoggingConfiguration
public abstract class LoggingConfiguration
Main entry Point to configure the logging system. This class provides access to the different
available settings of the levigo logging framework facade.
This class is not intended to be subclassed by clients.
Constructor Summary | |
---|---|
protected |
LoggingConfiguration()
|
Method Summary | |
---|---|
abstract void |
addQualifiedLogListener(QualifiedLogListener listener)
Add a global QualifiedLogListener . |
abstract void |
addThreadLocalQualifiedLogListener(QualifiedLogListener listener)
Add a thread local QualifiedLogListener . |
static LoggingConfiguration |
getGlobal()
Returns the global LoggingConfiguration instance. |
abstract void |
removeQualifiedLogListener(QualifiedLogListener listener)
Remove a global QualifiedLogListener . |
abstract void |
removeThreadLocalQualifiedLogListener(QualifiedLogListener listener)
Remove a thread local QualifiedLogListener . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LoggingConfiguration()
Method Detail |
---|
public static LoggingConfiguration getGlobal()
LoggingConfiguration
instance. At the Moment
this is the only existing LoggingConfiguration
instance which will
be shared among all logging participants and clients.
LoggingConfiguration
instance.public abstract void removeQualifiedLogListener(QualifiedLogListener listener)
QualifiedLogListener
.
listener
- the global QualifiedLogListener
to be removed.public abstract void addQualifiedLogListener(QualifiedLogListener listener)
QualifiedLogListener
. A QualifiedLogListener
registered using this method will receive all QualifiedLogEvent
s
produced by the levigo logging facade. Removal is possible using
removeQualifiedLogListener(QualifiedLogListener)
listener
- the global QualifiedLogListener
to be addedpublic abstract void removeThreadLocalQualifiedLogListener(QualifiedLogListener listener)
thread local
QualifiedLogListener
.
listener
- the thread local
QualifiedLogListener
to be removed.public abstract void addThreadLocalQualifiedLogListener(QualifiedLogListener listener)
thread local
QualifiedLogListener
. A
QualifiedLogListener
registered using this method will receive all
QualifiedLogEvent
s produced by the levigo logging facade on the
current thread. Removal is possible using
removeThreadLocalQualifiedLogListener(QualifiedLogListener)
listener
- the thread local
QualifiedLogListener
to be added
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |