org.apache.felix.jmood.compendium
Interface LogManagerMBean
- All Known Implementing Classes:
- LogManager
public interface LogManagerMBean
Method Summary |
javax.management.openmbean.CompositeData[] |
getLog()
|
int |
getLogLevel()
|
java.lang.String[] |
getLogMessages()
This method exposes the attribute LogFromReader for remote management. |
void |
setLogLevel(int level)
|
setLogLevel
void setLogLevel(int level)
throws java.lang.Exception
- Throws:
java.lang.Exception
getLogLevel
int getLogLevel()
throws java.lang.Exception
- Throws:
java.lang.Exception
getLog
javax.management.openmbean.CompositeData[] getLog()
throws java.lang.Exception
- Throws:
java.lang.Exception
getLogMessages
java.lang.String[] getLogMessages()
throws java.lang.Exception
- This method exposes the attribute LogFromReader for remote management. The main difference with the log attribute is that the later
uses the level configuration specified by the log level attribute and as a drawback does not include log entries registered before the log manager was started.
- Returns:
-
- Throws:
java.lang.Exception