References Deprecated
LoggingMXBean is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
LoggingMXBean interface provides a standard
method for management access to the individual
Logger objects available at runtime.
javax.management , Logger, LogManager
| Modifier and Type | Field and Description |
|---|---|
| private static String | |
| private static final Logging | |
| private static LogManager |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Logging | getInstance()
References Deprecated
Logging is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public String | getLoggerLevel(String loggerName)
Implements java. Gets the name of the log level associated with the specified logger. |
| public List | getLoggerNames()
Implements java. Returns the list of currently registered logger names. |
| public String | getParentLoggerName(String loggerName)
Implements java. Returns the name of the parent for the specified logger. |
| public void | setLoggerLevel(String loggerName, String levelName)
Implements java. Sets the specified logger to the specified new level. |
| EMPTY_STRING | back to summary |
|---|---|
| private static String EMPTY_STRING | |
| INSTANCE | back to summary |
|---|---|
| private static final Logging INSTANCE
References Deprecated
See corresponding docs for further information. | |
| logManager | back to summary |
|---|---|
| private static LogManager logManager | |
| Logging | back to summary |
|---|---|
| private Logging() Constructor of Logging which is the implementation class of LoggingMXBean. | |
| getInstance | back to summary |
|---|---|
| pack-priv static Logging getInstance()
References Deprecated
See corresponding docs for further information. | |
| getLoggerLevel | back to summary |
|---|---|
| public String getLoggerLevel(String loggerName) Implements java. Doc from java. Gets the name of the log level associated with the specified logger.
If the specified logger does not exist,
If the
| |
| getLoggerNames | back to summary |
|---|---|
| public List Implements java. Doc from java. Returns the list of currently registered logger names. This method
calls
| |
| getParentLoggerName | back to summary |
|---|---|
| public String getParentLoggerName(String loggerName) Implements java. Doc from java. Returns the name of the parent for the specified logger.
If the specified logger does not exist,
| |
| setLoggerLevel | back to summary |
|---|---|
| public void setLoggerLevel(String loggerName, String levelName) Implements java. Doc from java. Sets the specified logger to the specified new level.
If the
| |