public abstract class LoggingConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
LoggingConfiguration() |
Modifier and Type | Method and Description |
---|---|
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 . |
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 addedCopyright © 2024 levigo holding gmbh. All rights reserved.