public final class LogManager extends LogManager
LOGGING_MXBEAN_NAME
Constructor and Description |
---|
LogManager()
Construct a new logmanager instance.
|
Modifier and Type | Method and 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.
|
checkAccess, getLoggingMXBean, getLogManager
public LogManager()
Level
as
well.public void readConfiguration() throws IOException, SecurityException
ConfigurationLocator
is created by constructing an
instance of the class name specified in the org.jboss.logmanager.configurationLocator
system property.readConfiguration
in class LogManager
IOException
SecurityException
public void readConfiguration(InputStream inputStream) throws IOException, SecurityException
readConfiguration
in class LogManager
inputStream
- the input stream from which the logmanager should be configuredIOException
SecurityException
public void addPropertyChangeListener(PropertyChangeListener l)
addPropertyChangeListener
in class LogManager
l
- ignoredpublic void removePropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener
in class LogManager
l
- ignoredpublic String getProperty(String name)
getProperty
in class LogManager
name
- ignorednull
public void reset()
reset
in class LogManager
public Enumeration<String> getLoggerNames()
getLoggerNames
in class LogManager
public boolean addLogger(Logger logger)
getLogger(String)
.addLogger
in class LogManager
logger
- ignoredfalse
public Logger getLogger(String name)
getLogger
in class LogManager
name
- the logger nameCopyright © 2018 JBoss by Red Hat. All rights reserved.