public final class LogManager extends LogManager
LOGGING_MXBEAN_NAME| Constructor | Description |
|---|---|
LogManager() |
Construct a new logmanager instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
addLogger(Logger logger) |
Do nothing.
|
void |
addPropertyChangeListener(PropertyChangeListener l) |
Do nothing.
|
Logger |
getLogger(String name) |
Get or create a logger with the given name.
|
Enumeration<String> |
getLoggerNames() |
|
String |
getProperty(String name) |
Does nothing.
|
void |
readConfiguration() |
Configure the log manager one time.
|
void |
readConfiguration(InputStream inputStream) |
Configure the log manager.
|
void |
removePropertyChangeListener(PropertyChangeListener l) |
Do nothing.
|
void |
reset() |
Does nothing.
|
addConfigurationListener, checkAccess, getLoggingMXBean, getLogManager, removeConfigurationListener, updateConfiguration, updateConfigurationpublic LogManager()
Level as
well.public void readConfiguration()
throws IOException,
SecurityException
readConfiguration in class LogManagerIOExceptionSecurityExceptionpublic void readConfiguration(InputStream inputStream) throws IOException, SecurityException
readConfiguration in class LogManagerinputStream - the input stream from which the logmanager should be configuredIOExceptionSecurityExceptionpublic void addPropertyChangeListener(PropertyChangeListener l)
l - ignoredpublic void removePropertyChangeListener(PropertyChangeListener l)
l - ignoredpublic String getProperty(String name)
getProperty in class LogManagername - ignorednullpublic void reset()
reset in class LogManagerpublic Enumeration<String> getLoggerNames()
getLoggerNames in class LogManagerpublic boolean addLogger(Logger logger)
getLogger(String).addLogger in class LogManagerlogger - ignoredfalsepublic Logger getLogger(String name)
getLogger in class LogManagername - the logger nameCopyright © 2019 JBoss by Red Hat. All rights reserved.