java.lang.Object | |
↳ | org.apache.log4j.spi.NOPLoggerRepository |
No-operation implementation of LoggerRepository which is used when LogManager.repositorySelector is erroneously nulled during class reloading.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a
HierarchyEventListener event to the repository.
| |||||||||||
Deprecated.
| |||||||||||
Get the repository-wide threshold.
| |||||||||||
Returns whether this repository is disabled for a given
level.
| |||||||||||
Another form of
setThreshold(Level) accepting a string
parameter instead of a Level .
| |||||||||||
Set the repository-wide threshold.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.log4j.spi.LoggerRepository
|
Add a HierarchyEventListener
event to the repository.
Get the repository-wide threshold. See setThreshold(Level)
for an explanation.
Returns whether this repository is disabled for a given
level. The answer depends on the repository threshold and the
level
parameter. See also setThreshold(String)
method.
Another form of setThreshold(Level)
accepting a string
parameter instead of a Level
.
Set the repository-wide threshold. All logging requests below the
threshold are immediately dropped. By default, the threshold is
set to Level.ALL
which has the lowest possible rank.