|
JBoss Log Manager 1.4.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.logging.LogManager
org.jboss.logmanager.LogManager
public final class LogManager
Simplified log manager. Designed to work around the (many) design flaws of the JDK platform log manager.
| Field Summary |
|---|
| Fields inherited from class java.util.logging.LogManager |
|---|
LOGGING_MXBEAN_NAME |
| Constructor Summary | |
|---|---|
LogManager()
Construct a new logmanager instance. |
|
| Method Summary | |
|---|---|
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()
Does nothing. |
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. |
| Methods inherited from class java.util.logging.LogManager |
|---|
checkAccess, getLoggingMXBean, getLogManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogManager()
Level as
well.
| Method Detail |
|---|
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 LogManagerIOException
SecurityException
public void readConfiguration(InputStream inputStream)
throws IOException,
SecurityException
readConfiguration in class LogManagerinputStream - the input stream from which the logmanager should be configured
IOException
SecurityExceptionpublic void addPropertyChangeListener(PropertyChangeListener l)
addPropertyChangeListener in class LogManagerl - ignoredpublic void removePropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener in class LogManagerl - ignoredpublic String getProperty(String name)
getProperty in class LogManagername - ignored
nullpublic void reset()
reset in class LogManagerpublic Enumeration<String> getLoggerNames()
getLoggerNames in class LogManagerpublic boolean addLogger(Logger logger)
getLogger(String).
addLogger in class LogManagerlogger - ignored
falsepublic Logger getLogger(String name)
getLogger in class LogManagername - the logger name
|
JBoss Log Manager 1.4.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||