|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Management interface for controlling the forwarding of logging events from a particular
logging implementation as RtlTracePointNotification
s. This interface should
not be instantiated but instead be extended for each logging implementation. Each implementation
should map each of the remote logging levels listed below to a level in their implementation.
This management interface includes the following attributes. These attributes are described in more detail in the accessor methods.
The following operations are included in this management interface. These are described in more detail in the corresponding method documentation.
Classes that implement this interface emit a RtlTracePointNotification
for each
logging event it is configured to forward.
Field Summary | |
---|---|
static int |
LEVEL_ALERT
|
static int |
LEVEL_CRIT
|
static int |
LEVEL_DEBUG
|
static int |
LEVEL_EMERGENCY
|
static int |
LEVEL_ERR
|
static int |
LEVEL_INFO
|
static int |
LEVEL_MASK_ALL
|
static int |
LEVEL_MASK_OFF
|
static int |
LEVEL_MASK_SEVERE
|
static int |
LEVEL_NOTICE
|
static int |
LEVEL_WARNING
|
static int[] |
LEVELS
|
Method Summary | |
---|---|
java.lang.Integer |
getLevel()
Returns a mask indicating the current level of logging that is enabled. |
java.lang.String |
getLogType()
Returns a sting to indicate the type of logger that is managed by this interface. |
boolean |
isActive()
Returns a string to indicate the type of logger that is managed by this interface. |
void |
setLevel(java.lang.Integer LevelMask)
Returns a mask indicating the current level of logging that is enabled. |
boolean |
start()
Causes the logger that is managed by this MBean to start logging. |
boolean |
stop()
Causes the logger that is managed by this MBean to stop logging. |
Field Detail |
public static final int LEVEL_EMERGENCY
public static final int LEVEL_ALERT
public static final int LEVEL_CRIT
public static final int LEVEL_ERR
public static final int LEVEL_WARNING
public static final int LEVEL_NOTICE
public static final int LEVEL_INFO
public static final int LEVEL_DEBUG
public static final int LEVEL_MASK_ALL
public static final int LEVEL_MASK_OFF
public static final int LEVEL_MASK_SEVERE
public static final int[] LEVELS
Method Detail |
public void setLevel(java.lang.Integer LevelMask) throws javax.management.InvalidAttributeValueException
javax.management.InvalidAttributeValueException
- An attempt is made to set an undefined level or maskpublic java.lang.Integer getLevel()
public boolean isActive()
public java.lang.String getLogType()
public boolean start()
public boolean stop()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |